Reorganise GHC packages, get rid of Builder import cycle (#662)
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Mon, 27 Aug 2018 20:45:17 +0000 (21:45 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Aug 2018 20:45:17 +0000 (21:45 +0100)
commit0106f203927187d76ce9e92e69ed9864d01091dc
treec7978ea99c9abbf4eee7fcdeb32e47660d9b5870
parent0059b9f205d0e184e7f676917bf6d300a63c98a9
Reorganise GHC packages, get rid of Builder import cycle (#662)

* Reorganise GHC and GHC.Packages modules to get rid of import cycles
* Move "GHC.Packages" to "Packages", merge "GHC" into "Settings.Default"
35 files changed:
hadrian.cabal
src/Builder.hs
src/Builder.hs-boot [deleted file]
src/Expression.hs
src/Expression/Type.hs
src/GHC.hs [deleted file]
src/GHC/Packages.hs [deleted file]
src/Hadrian/Haskell/Cabal/Parse.hs
src/Oracles/ModuleFiles.hs
src/Packages.hs [new file with mode: 0644]
src/Rules.hs
src/Rules/BinaryDist.hs
src/Rules/Configure.hs
src/Rules/Documentation.hs
src/Rules/Generate.hs
src/Rules/Gmp.hs
src/Rules/Libffi.hs
src/Rules/Library.hs
src/Rules/Nofib.hs
src/Rules/Program.hs
src/Rules/Register.hs
src/Rules/Selftest.hs
src/Rules/Test.hs
src/Settings.hs
src/Settings/Builders/Cabal.hs
src/Settings/Builders/Common.hs
src/Settings/Builders/Configure.hs
src/Settings/Builders/Ghc.hs
src/Settings/Builders/HsCpp.hs
src/Settings/Builders/Hsc2Hs.hs
src/Settings/Builders/Make.hs
src/Settings/Builders/RunTest.hs
src/Settings/Default.hs
src/Settings/Packages.hs
src/Settings/Warnings.hs