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: Build the NCG.
45 Description: Is this stage 1?
50 Description: Is this stage 2?
55 Description: Is this stage 3?
63 Build-Depends: base >= 4 && < 5
65 Build-Depends: base >= 3 && < 4
66 if !flag(base3) && !flag(base4)
67 Build-Depends: base < 3
69 if flag(base3) || flag(base4)
70 Build-Depends: directory >= 1 && < 1.2,
71 process >= 1 && < 1.1,
72 bytestring >= 0.9 && < 0.10,
73 old-time >= 1 && < 1.1,
74 containers >= 0.1 && < 0.5,
77 Build-Depends: filepath >= 1 && < 1.3
78 Build-Depends: Cabal, hpc
84 GHC-Options: -Wall -fno-warn-name-shadowing -fno-warn-orphans
87 Build-Depends: template-haskell
89 Include-Dirs: ../libffi/build/include
92 CPP-Options: -DOMIT_NATIVE_CODEGEN
94 Build-Depends: bin-package-db
96 -- GHC 6.4.2 needs to be able to find WCsubst.c, which needs to be
97 -- able to find WCsubst.h
98 Include-Dirs: ../libraries/base/cbits, ../libraries/base/include
100 Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards,
101 ForeignFunctionInterface, EmptyDataDecls,
102 TypeSynonymInstances, MultiParamTypeClasses,
103 FlexibleInstances, Rank2Types, ScopedTypeVariables,
106 Extensions: NondecreasingIndentation
108 Include-Dirs: . parser utils
119 Install-Includes: HsVersions.h, ghc_boot_platform.h
127 ghci/keepCAFsForGHCi.c
466 Vectorise.Builtins.Base
467 Vectorise.Builtins.Initialise
468 Vectorise.Builtins.Modules
469 Vectorise.Builtins.Prelude
472 Vectorise.Monad.Naming
473 Vectorise.Monad.Local
474 Vectorise.Monad.Global
475 Vectorise.Monad.InstEnv
478 Vectorise.Utils.Closure
479 Vectorise.Utils.Hoisting
480 Vectorise.Utils.PADict
481 Vectorise.Utils.PRDict
488 Vectorise.Type.PADict
489 Vectorise.Type.PRDict
491 Vectorise.Type.TyConDecl
492 Vectorise.Type.Classify
500 -- We only need to expose more modules as some of the ncg code is used
501 -- by the LLVM backend so its always included
543 SPARC.CodeGen.CondCode
551 RegAlloc.Graph.ArchBase
552 RegAlloc.Graph.ArchX86
553 RegAlloc.Graph.Coalesce
555 RegAlloc.Graph.SpillClean
556 RegAlloc.Graph.SpillCost
557 RegAlloc.Graph.TrivColorable
559 RegAlloc.Linear.JoinToTargets
560 RegAlloc.Linear.State
561 RegAlloc.Linear.Stats
562 RegAlloc.Linear.FreeRegs
563 RegAlloc.Linear.StackMap
565 RegAlloc.Linear.X86.FreeRegs
566 RegAlloc.Linear.PPC.FreeRegs
567 RegAlloc.Linear.SPARC.FreeRegs