Deduplicate "unique subdir" code between GHC and Cabal
The code, including the generated module with the version, is now in ghc-boot. Config.hs reexports stuff as needed, ghc-pkg doesn't need any tricks at all.
Showing
- .gitignore 0 additions, 1 deletion.gitignore
- boot 3 additions, 0 deletionsboot
- compiler/ghc.mk 13 additions, 13 deletionscompiler/ghc.mk
- compiler/main/DynFlags.hs 2 additions, 10 deletionscompiler/main/DynFlags.hs
- hadrian/src/Rules/Generate.hs 42 additions, 25 deletionshadrian/src/Rules/Generate.hs
- libraries/ghc-boot/GHC/UniqueSubdir.hs 32 additions, 0 deletionslibraries/ghc-boot/GHC/UniqueSubdir.hs
- libraries/ghc-boot/ghc-boot.cabal.in 6 additions, 0 deletionslibraries/ghc-boot/ghc-boot.cabal.in
- libraries/ghc-boot/ghc.mk 36 additions, 0 deletionslibraries/ghc-boot/ghc.mk
- utils/ghc-pkg/Main.hs 9 additions, 6 deletionsutils/ghc-pkg/Main.hs
- utils/ghc-pkg/ghc-pkg.cabal 0 additions, 1 deletionutils/ghc-pkg/ghc-pkg.cabal
- utils/ghc-pkg/ghc.mk 0 additions, 13 deletionsutils/ghc-pkg/ghc.mk
Loading
Please register or sign in to comment