There was an error fetching the commit references. Please try again later.
Replace ghcWithNativeCodeGen with a proper Backend datatype
* Represent backends with a `Backend` datatype in GHC.Driver.Backend * Don't detect the default backend to use for the target platform at compile time in Hadrian/make but at runtime. It makes "Settings" simpler and it is a step toward making GHC multi-target. * The latter change also fixes hadrian which has not been updated to take into account that the NCG now supports AIX and PPC64 (cf df26b955 and d3c1dda6) * Also we don't treat iOS specifically anymore (cf cb4878ff)
Showing
- compiler/GHC/Cmm/CLabel.hs 1 addition, 1 deletioncompiler/GHC/Cmm/CLabel.hs
- compiler/GHC/Driver/Backend.hs 43 additions, 0 deletionscompiler/GHC/Driver/Backend.hs
- compiler/GHC/Driver/Session.hs 25 additions, 17 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Settings/IO.hs 0 additions, 2 deletionscompiler/GHC/Settings/IO.hs
- compiler/ghc.cabal.in 1 addition, 0 deletionscompiler/ghc.cabal.in
- distrib/cross-port 0 additions, 1 deletiondistrib/cross-port
- distrib/hc-build 0 additions, 1 deletiondistrib/hc-build
- hadrian/src/Oracles/Flag.hs 1 addition, 8 deletionshadrian/src/Oracles/Flag.hs
- hadrian/src/Rules/Generate.hs 0 additions, 1 deletionhadrian/src/Rules/Generate.hs
- includes/ghc.mk 0 additions, 1 deletionincludes/ghc.mk
- libraries/ghc-boot/GHC/Platform.hs 0 additions, 1 deletionlibraries/ghc-boot/GHC/Platform.hs
- mk/config.mk.in 0 additions, 13 deletionsmk/config.mk.in
Loading
Please register or sign in to comment