summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in19
1 files changed, 15 insertions, 4 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 448d27bead..479e56d22e 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -130,7 +130,9 @@ Library
ghci
hsSyn
iface
+ llvmGen
main
+ nativeGen
parser
prelude
profiling
@@ -153,6 +155,16 @@ Library
Id
IdInfo
Literal
+ Llvm
+ Llvm.AbsSyn
+ Llvm.PpLlvm
+ Llvm.Types
+ LlvmCodeGen
+ LlvmCodeGen.Base
+ LlvmCodeGen.CodeGen
+ LlvmCodeGen.Data
+ LlvmCodeGen.Ppr
+ LlvmCodeGen.Regs
MkId
Module
Name
@@ -198,6 +210,7 @@ Library
MkZipCfg
MkZipCfgCmm
OptimizationFuel
+ PprBase
PprC
PprCmm
PprCmmZ
@@ -447,10 +460,9 @@ Library
VectUtils
Vectorise
+ -- We only need to expose more modules as some of the ncg code is used
+ -- by the LLVM backend so its always included
if flag(ncg)
- hs-source-dirs:
- nativeGen
-
Exposed-Modules:
AsmCodeGen
TargetReg
@@ -459,7 +471,6 @@ Library
Size
Reg
RegClass
- PprBase
PIC
Platform
Alpha.Regs