Synchronise ghci-package version with ghc-package
In order to simplify the task, the version munging logic has been radically simplified: Previously, in cases where the version contained dates as version components, the build-system would munge the version of the stage1 ghc package before registering the `ghc` package. However, this hack was already questionable at the time of its introduction (c.f. 7b45c46c). Simplifying the build-systems by avoiding such hacks may also help the shaking-up-ghc effort. So now we simply munge directly via the `.cabal` files, which gives a simpler picture, as now every stage is munged the same. Munging is only active when the first patch-level version component is a date. So stable snapshots and release candidates are unaffacted (as those have the date in the second patch-level version component) Reviewers: simonmar, bgamari, austin, thomie, ezyang Reviewed By: bgamari, thomie, ezyang Differential Revision: https://phabricator.haskell.org/D1673
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- aclocal.m4 15 additions, 1 deletionaclocal.m4
- boot 5 additions, 1 deletionboot
- compiler/ghc.cabal.in 9 additions, 9 deletionscompiler/ghc.cabal.in
- compiler/ghc.mk 0 additions, 53 deletionscompiler/ghc.mk
- configure.ac 1 addition, 1 deletionconfigure.ac
- ghc.mk 1 addition, 0 deletionsghc.mk
- ghc/ghc-bin.cabal.in 4 additions, 4 deletionsghc/ghc-bin.cabal.in
- ghc/ghc.mk 0 additions, 9 deletionsghc/ghc.mk
- iserv/iserv-bin.cabal 1 addition, 1 deletioniserv/iserv-bin.cabal
- libraries/ghc-boot/ghc-boot.cabal.in 5 additions, 1 deletionlibraries/ghc-boot/ghc-boot.cabal.in
- libraries/ghci/ghci.cabal.in 16 additions, 13 deletionslibraries/ghci/ghci.cabal.in
- libraries/template-haskell/template-haskell.cabal 1 addition, 1 deletionlibraries/template-haskell/template-haskell.cabal
- rules/build-package-data.mk 0 additions, 2 deletionsrules/build-package-data.mk
- rules/foreachLibrary.mk 1 addition, 0 deletionsrules/foreachLibrary.mk
- testsuite/tests/th/all.T 3 additions, 2 deletionstestsuite/tests/th/all.T
Loading
Please register or sign in to comment