1 -- WARNING: ghc.cabal is automatically generated from ghc.cabal.in by
2 -- ./configure. Make sure you are editing ghc.cabal.in, not ghc.cabal.
5 Version: @ProjectVersionMunged@
7 License-File: ../LICENSE
9 Maintainer: glasgow-haskell-users@haskell.org
10 Homepage: http://www.haskell.org/ghc/
13 GHC's functionality can be useful for more things than just
14 compiling Haskell programs. Important use cases are programs
15 that analyse (and perhaps transform) Haskell code. Others
16 include loading Haskell code dynamically in a GHCi-like manner.
17 For this reason, a lot of GHC's functionality is made available
24 Description: Build GHCi support.
29 Description: Is this stage 1?
34 Description: Is this stage 2?
39 Description: Is this stage 3?
44 Description: Build GHC with terminfo support on non-Windows platforms.
49 Default-Language: Haskell2010
52 Build-Depends: base >= 4 && < 5,
53 deepseq >= 1.4 && < 1.5,
54 directory >= 1 && < 1.4,
55 process >= 1 && < 1.7,
56 bytestring >= 0.9 && < 0.11,
59 containers >= 0.5 && < 0.6,
60 array >= 0.1 && < 0.6,
61 filepath >= 1 && < 1.5,
62 template-haskell == 2.12.*,
64 transformers == 0.5.*,
65 ghc-boot == @ProjectVersionMunged@,
66 ghc-boot-th == @ProjectVersionMunged@,
67 ghci == @ProjectVersionMunged@
70 Build-Depends: Win32 >= 2.3 && < 2.6
73 Build-Depends: terminfo == 0.4.*
74 Build-Depends: unix == 2.7.*
76 GHC-Options: -Wall -fno-warn-name-shadowing
80 Include-Dirs: ../rts/dist/build @FFIIncludeDir@
90 DisambiguateRecordFields
95 GeneralizedNewtypeDeriving
99 NondecreasingIndentation
111 Include-Dirs: . parser utils
113 -- We need to set the unit id to ghc (without a version number)
114 -- as it's magic. But we can't set it for old versions of GHC (e.g.
115 -- when bootstrapping) because those versions of GHC don't understand
116 -- that GHC is wired-in.
117 if impl ( ghc >= 7.11 )
118 GHC-Options: -this-unit-id ghc
120 if impl( ghc >= 7.9 )
121 GHC-Options: -this-package-key ghc
132 Install-Includes: HsVersions.h, ghc_boot_platform.h
136 ghci/keepCAFsForGHCi.c
222 CmmImplementSwitchPlans
250 CodeGen.Platform.ARM64
251 CodeGen.Platform.NoRegs
253 CodeGen.Platform.PPC_Darwin
254 CodeGen.Platform.SPARC
256 CodeGen.Platform.X86_64
520 Vectorise.Builtins.Base
521 Vectorise.Builtins.Initialise
524 Vectorise.Monad.Naming
525 Vectorise.Monad.Local
526 Vectorise.Monad.Global
527 Vectorise.Monad.InstEnv
530 Vectorise.Utils.Closure
531 Vectorise.Utils.Hoisting
532 Vectorise.Utils.PADict
535 Vectorise.Generic.Description
536 Vectorise.Generic.PAMethods
537 Vectorise.Generic.PADict
538 Vectorise.Generic.PData
541 Vectorise.Type.TyConDecl
542 Vectorise.Type.Classify
555 -- CgInfoTbls used in ghci/DebuggerUtils
556 -- CgHeapery mkVirtHeapOffsets used in ghci
593 SPARC.CodeGen.CondCode
601 RegAlloc.Graph.ArchBase
602 RegAlloc.Graph.ArchX86
603 RegAlloc.Graph.Coalesce
605 RegAlloc.Graph.SpillClean
606 RegAlloc.Graph.SpillCost
607 RegAlloc.Graph.TrivColorable
609 RegAlloc.Linear.JoinToTargets
610 RegAlloc.Linear.State
611 RegAlloc.Linear.Stats
612 RegAlloc.Linear.FreeRegs
613 RegAlloc.Linear.StackMap
615 RegAlloc.Linear.X86.FreeRegs
616 RegAlloc.Linear.X86_64.FreeRegs
617 RegAlloc.Linear.PPC.FreeRegs
618 RegAlloc.Linear.SPARC.FreeRegs