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.9 && < 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.13.*,
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.*
78 -Wnoncanonical-monad-instances
79 -Wnoncanonical-monadfail-instances
80 -Wnoncanonical-monoid-instances
84 Include-Dirs: ../rts/dist/build @FFIIncludeDir@
94 DisambiguateRecordFields
99 GeneralizedNewtypeDeriving
101 MultiParamTypeClasses
103 NondecreasingIndentation
115 Include-Dirs: . parser utils
117 -- We need to set the unit id to ghc (without a version number)
119 GHC-Options: -this-unit-id ghc
130 Install-Includes: HsVersions.h, ghc_boot_platform.h
134 ghci/keepCAFsForGHCi.c
164 -- we use an explicit Prelude
228 CmmImplementSwitchPlans
256 CodeGen.Platform.ARM64
257 CodeGen.Platform.NoRegs
259 CodeGen.Platform.PPC_Darwin
260 CodeGen.Platform.SPARC
262 CodeGen.Platform.X86_64
531 Vectorise.Builtins.Base
532 Vectorise.Builtins.Initialise
535 Vectorise.Monad.Naming
536 Vectorise.Monad.Local
537 Vectorise.Monad.Global
538 Vectorise.Monad.InstEnv
541 Vectorise.Utils.Closure
542 Vectorise.Utils.Hoisting
543 Vectorise.Utils.PADict
546 Vectorise.Generic.Description
547 Vectorise.Generic.PAMethods
548 Vectorise.Generic.PADict
549 Vectorise.Generic.PData
552 Vectorise.Type.TyConDecl
553 Vectorise.Type.Classify
566 -- CgInfoTbls used in ghci/DebuggerUtils
567 -- CgHeapery mkVirtHeapOffsets used in ghci
604 SPARC.CodeGen.CondCode
612 RegAlloc.Graph.ArchBase
613 RegAlloc.Graph.ArchX86
614 RegAlloc.Graph.Coalesce
616 RegAlloc.Graph.SpillClean
617 RegAlloc.Graph.SpillCost
618 RegAlloc.Graph.TrivColorable
620 RegAlloc.Linear.JoinToTargets
621 RegAlloc.Linear.State
622 RegAlloc.Linear.Stats
623 RegAlloc.Linear.FreeRegs
624 RegAlloc.Linear.StackMap
626 RegAlloc.Linear.X86.FreeRegs
627 RegAlloc.Linear.X86_64.FreeRegs
628 RegAlloc.Linear.PPC.FreeRegs
629 RegAlloc.Linear.SPARC.FreeRegs