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.5,
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@,
68 hoopl >= 3.10.2 && < 3.11
71 Build-Depends: Win32 >= 2.3 && < 2.6
74 Build-Depends: terminfo == 0.4.*
75 Build-Depends: unix == 2.7.*
77 GHC-Options: -Wall -fno-warn-name-shadowing
81 Include-Dirs: ../rts/dist/build @FFIIncludeDir@
91 DisambiguateRecordFields
96 GeneralizedNewtypeDeriving
100 NondecreasingIndentation
112 Include-Dirs: . parser utils
114 -- We need to set the unit id to ghc (without a version number)
115 -- as it's magic. But we can't set it for old versions of GHC (e.g.
116 -- when bootstrapping) because those versions of GHC don't understand
117 -- that GHC is wired-in.
118 if impl ( ghc >= 7.11 )
119 GHC-Options: -this-unit-id ghc
121 if impl( ghc >= 7.9 )
122 GHC-Options: -this-package-key ghc
133 Install-Includes: HsVersions.h, ghc_boot_platform.h
137 ghci/keepCAFsForGHCi.c
221 CmmImplementSwitchPlans
248 CodeGen.Platform.ARM64
249 CodeGen.Platform.NoRegs
251 CodeGen.Platform.PPC_Darwin
252 CodeGen.Platform.SPARC
254 CodeGen.Platform.X86_64
511 Vectorise.Builtins.Base
512 Vectorise.Builtins.Initialise
515 Vectorise.Monad.Naming
516 Vectorise.Monad.Local
517 Vectorise.Monad.Global
518 Vectorise.Monad.InstEnv
521 Vectorise.Utils.Closure
522 Vectorise.Utils.Hoisting
523 Vectorise.Utils.PADict
526 Vectorise.Generic.Description
527 Vectorise.Generic.PAMethods
528 Vectorise.Generic.PADict
529 Vectorise.Generic.PData
532 Vectorise.Type.TyConDecl
533 Vectorise.Type.Classify
542 -- CgInfoTbls used in ghci/DebuggerUtils
543 -- CgHeapery mkVirtHeapOffsets used in ghci
580 SPARC.CodeGen.CondCode
588 RegAlloc.Graph.ArchBase
589 RegAlloc.Graph.ArchX86
590 RegAlloc.Graph.Coalesce
592 RegAlloc.Graph.SpillClean
593 RegAlloc.Graph.SpillCost
594 RegAlloc.Graph.TrivColorable
596 RegAlloc.Linear.JoinToTargets
597 RegAlloc.Linear.State
598 RegAlloc.Linear.Stats
599 RegAlloc.Linear.FreeRegs
600 RegAlloc.Linear.StackMap
602 RegAlloc.Linear.X86.FreeRegs
603 RegAlloc.Linear.X86_64.FreeRegs
604 RegAlloc.Linear.PPC.FreeRegs
605 RegAlloc.Linear.SPARC.FreeRegs
623 -- ghc:Serialized moved to ghc-boot:GHC.Serialized. So for
624 -- compatibility with GHC 7.10 and earlier, we reexport it
625 -- under the old name.
627 ghc-boot:GHC.Serialized as Serialized