diff options
| author | Sylvain Henry <sylvain@haskus.fr> | 2020-07-21 19:15:59 +0200 |
|---|---|---|
| committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-25 00:45:08 -0400 |
| commit | 7721b923d53fb9eb93f80bb93b4c3bd976c05b4c (patch) | |
| tree | edc61b1ed9885e442c7327460052f10d1ca589fa /compiler/ghc.cabal.in | |
| parent | 73145d57f961c73b5853da7881d6a21e48e05909 (diff) | |
| download | haskell-7721b923d53fb9eb93f80bb93b4c3bd976c05b4c.tar.gz | |
Move GHC.Platform into the compiler
Previously it was in ghc-boot so that ghc-pkg could use it. However it
wasn't necessary because ghc-pkg only uses a subset of it: reading
target arch and OS from the settings file. This is now done via
GHC.Platform.ArchOS (was called PlatformMini before).
Diffstat (limited to 'compiler/ghc.cabal.in')
| -rw-r--r-- | compiler/ghc.cabal.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 5c153817e7..efa45c89e4 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -181,8 +181,6 @@ Library GHC.Driver.Monad GHC.Driver.Hooks GHC.Driver.Flags - GHC.Platform.Ways - GHC.Platform.Profile GHC.Types.Id GHC.Types.Id.Info GHC.Core.Predicate @@ -258,6 +256,9 @@ Library GHC.Cmm.Ppr.Decl GHC.Cmm.Ppr.Expr GHC.Data.Bitmap + GHC.Platform + GHC.Platform.Ways + GHC.Platform.Profile GHC.Platform.Regs GHC.Platform.ARM GHC.Platform.ARM64 @@ -566,6 +567,10 @@ Library GHC.Cmm.Dataflow.Graph GHC.Cmm.Dataflow.Label + reexported-modules: + GHC.Platform.ArchOS + GHC.Platform.Host + Exposed-Modules: GHC.CmmToAsm GHC.CmmToAsm.Reg.Target |
