[Git][ghc/ghc][master] 3 commits: Move 'Platform' to ghc-boot

Marge Bot gitlab at gitlab.haskell.org
Thu Jun 20 02:16:20 UTC 2019



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
bff2f24b by John Ericson at 2019-06-20T02:16:16Z
Move 'Platform' to ghc-boot

ghc-pkg needs to be aware of platforms so it can figure out which
subdire within the user package db to use. This is admittedly
roundabout, but maybe Cabal could use the same notion of a platform as
GHC to good affect too.

- - - - -
a298b96e by John Ericson at 2019-06-20T02:16:16Z
Add 'stringEncodeArch' and 'stringEncodeOS' to GHC.Platform

- - - - -
d406a16a by John Ericson at 2019-06-20T02:16:16Z
ghc-pkg needs settings file to un-hardcode target platform

This matches GHC itself getting the target platform from there.

- - - - -


30 changed files:

- compiler/basicTypes/Literal.hs
- compiler/cmm/CLabel.hs
- compiler/cmm/CmmBuildInfoTables.hs
- compiler/cmm/CmmCallConv.hs
- compiler/cmm/CmmInfo.hs
- compiler/cmm/CmmOpt.hs
- compiler/cmm/CmmParse.y
- compiler/cmm/CmmPipeline.hs
- compiler/cmm/CmmProcPoint.hs
- compiler/cmm/CmmSink.hs
- compiler/cmm/PprC.hs
- compiler/cmm/SMRep.hs
- compiler/codeGen/CodeGen/Platform.hs
- compiler/codeGen/StgCmmCon.hs
- compiler/codeGen/StgCmmPrim.hs
- compiler/coreSyn/CorePrep.hs
- compiler/coreSyn/CoreUtils.hs
- compiler/deSugar/DsForeign.hs
- compiler/ghc.cabal.in
- compiler/ghci/ByteCodeAsm.hs
- compiler/ghci/ByteCodeGen.hs
- compiler/ghci/Linker.hs
- compiler/hieFile/HieBin.hs
- compiler/iface/BinIface.hs
- compiler/llvmGen/LlvmCodeGen/Base.hs
- compiler/llvmGen/LlvmCodeGen/CodeGen.hs
- compiler/llvmGen/LlvmCodeGen/Data.hs
- compiler/llvmGen/LlvmMangler.hs
- compiler/main/DriverPhases.hs
- compiler/main/DriverPipeline.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/3ae23992786c7ea3211ab6f13e1d61a5edfe5952...d406a16ac22e6ad02da0d2c75212614eda09d2cb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/3ae23992786c7ea3211ab6f13e1d61a5edfe5952...d406a16ac22e6ad02da0d2c75212614eda09d2cb
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190619/2d198d70/attachment.html>


More information about the ghc-commits mailing list