[commit: ghc] master: Refactor package-specific settings (#622) (2358090)

git at git.haskell.org git at git.haskell.org
Tue Oct 23 20:17:53 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/235809092b65d1631735b70e9ce9dd2e9ebab47d/ghc

>---------------------------------------------------------------

commit 235809092b65d1631735b70e9ce9dd2e9ebab47d
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Jun 15 01:15:47 2018 +0100

    Refactor package-specific settings (#622)
    
    * Minor clean up
    
    * Track rts.cabal
    
    * Move all package-specific settings to Settings.Packages, plus another revision, see #540
    
    * Drop Rules.PackageData


>---------------------------------------------------------------

235809092b65d1631735b70e9ce9dd2e9ebab47d
 hadrian.cabal                       |   4 +-
 src/Base.hs                         |   7 +-
 src/Context.hs                      |   3 +-
 src/Context/{Paths.hs => Path.hs}   |  14 ++-
 src/GHC.hs                          |  28 ++++-
 src/Rules.hs                        |  15 ++-
 src/Rules/Configure.hs              |   9 +-
 src/Rules/Generate.hs               |   3 +-
 src/Rules/Gmp.hs                    |   2 +-
 src/Rules/Libffi.hs                 |  21 ++--
 src/Rules/PackageData.hs            |  33 -----
 src/Rules/Program.hs                |   1 -
 src/Rules/Register.hs               |  51 ++++----
 src/Settings/Builders/Configure.hs  |   2 +-
 src/Settings/Builders/Make.hs       |   1 -
 src/Settings/Default.hs             |   6 +-
 src/Settings/Packages.hs            | 222 +++++++++++++++++++++++++++++++--
 src/Settings/Packages/Base.hs       |  12 --
 src/Settings/Packages/Cabal.hs      |  10 --
 src/Settings/Packages/Compiler.hs   |  45 -------
 src/Settings/Packages/Ghc.hs        |  13 --
 src/Settings/Packages/GhcCabal.hs   |  32 -----
 src/Settings/Packages/GhcPkg.hs     |   7 --
 src/Settings/Packages/GhcPrim.hs    |  12 --
 src/Settings/Packages/Ghci.hs       |   6 -
 src/Settings/Packages/Haddock.hs    |   7 --
 src/Settings/Packages/IntegerGmp.hs |  24 ----
 src/Settings/Packages/Rts.hs        | 236 ------------------------------------
 src/Settings/Packages/RunGhc.hs     |   9 --
 29 files changed, 307 insertions(+), 528 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 235809092b65d1631735b70e9ce9dd2e9ebab47d


More information about the ghc-commits mailing list