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: @ProjectVersion@
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
21 Cabal-Version: >= 1.2.3
24 Description: Choose the even newer, even smaller, split-up base package.
27 Description: Choose the new smaller, split-up base package.
30 Description: Dynamic library support
35 Description: Build GHCi support.
40 Description: Is this stage 1?
45 Description: Is this stage 2?
50 Description: Is this stage 3?
58 Build-Depends: base >= 4 && < 5
60 Build-Depends: base >= 3 && < 4
61 if !flag(base3) && !flag(base4)
62 Build-Depends: base < 3
64 if flag(base3) || flag(base4)
65 Build-Depends: directory >= 1 && < 1.2,
66 process >= 1 && < 1.1,
67 bytestring >= 0.9 && < 0.10,
68 old-time >= 1 && < 1.1,
69 containers >= 0.1 && < 0.5,
72 Build-Depends: filepath >= 1 && < 1.3
73 Build-Depends: Cabal, hpc
79 GHC-Options: -Wall -fno-warn-name-shadowing -fno-warn-orphans
82 Build-Depends: template-haskell
84 Include-Dirs: ../libffi/build/include
86 Build-Depends: bin-package-db
89 -- GHC 6.4.2 needs to be able to find WCsubst.c, which needs to be
90 -- able to find WCsubst.h
91 Include-Dirs: ../libraries/base/cbits, ../libraries/base/include
93 Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards,
94 ForeignFunctionInterface, EmptyDataDecls,
95 TypeSynonymInstances, MultiParamTypeClasses,
96 FlexibleInstances, Rank2Types, ScopedTypeVariables,
99 Extensions: NondecreasingIndentation
101 Include-Dirs: . parser utils
112 Install-Includes: HsVersions.h, ghc_boot_platform.h
120 ghci/keepCAFsForGHCi.c
202 CmmRewriteAssignments
456 Vectorise.Builtins.Base
457 Vectorise.Builtins.Initialise
458 Vectorise.Builtins.Modules
459 Vectorise.Builtins.Prelude
462 Vectorise.Monad.Naming
463 Vectorise.Monad.Local
464 Vectorise.Monad.Global
465 Vectorise.Monad.InstEnv
468 Vectorise.Utils.Closure
469 Vectorise.Utils.Hoisting
470 Vectorise.Utils.PADict
477 Vectorise.Type.PADict
479 Vectorise.Type.TyConDecl
480 Vectorise.Type.Classify
524 SPARC.CodeGen.CondCode
532 RegAlloc.Graph.ArchBase
533 RegAlloc.Graph.ArchX86
534 RegAlloc.Graph.Coalesce
536 RegAlloc.Graph.SpillClean
537 RegAlloc.Graph.SpillCost
538 RegAlloc.Graph.TrivColorable
540 RegAlloc.Linear.JoinToTargets
541 RegAlloc.Linear.State
542 RegAlloc.Linear.Stats
543 RegAlloc.Linear.FreeRegs
544 RegAlloc.Linear.StackMap
546 RegAlloc.Linear.X86.FreeRegs
547 RegAlloc.Linear.PPC.FreeRegs
548 RegAlloc.Linear.SPARC.FreeRegs