[commit: ghc] wip/nfs-locking: Major refactoring of path settings (9b70568)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:38:30 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/9b70568615e2763ff782279be28286373b59d8ff/ghc

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

commit 9b70568615e2763ff782279be28286373b59d8ff
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Aug 16 03:45:51 2017 +0100

    Major refactoring of path settings
    
    * Move buildRoot into the Action monad, so it can be configured from command line in future
    
    * Move settings from Setting.Path to Base and Context
    
    * Simplify build rule matching and prepare to factoring out common build rules into the library, #347


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

9b70568615e2763ff782279be28286373b59d8ff
 hadrian.cabal                            |   2 -
 src/Base.hs                              |  76 +++++++++-
 src/Context.hs                           | 101 ++++++++++++-
 src/Expression.hs                        |   6 +-
 src/GHC.hs                               |  70 ++++++++-
 src/Hadrian/Expression.hs                |   6 +-
 src/Hadrian/Utilities.hs                 |  64 ++++----
 src/Main.hs                              |   9 +-
 src/Oracles/ModuleFiles.hs               |  32 ++--
 src/Rules.hs                             |  15 +-
 src/Rules/Cabal.hs                       |   9 +-
 src/Rules/Clean.hs                       |  10 +-
 src/Rules/Compile.hs                     |  24 +--
 src/Rules/Data.hs                        |  36 +++--
 src/Rules/Dependencies.hs                |   3 +-
 src/Rules/Documentation.hs               |  45 +++---
 src/Rules/Generate.hs                    | 100 +++++++------
 src/Rules/Gmp.hs                         |  77 ++++++----
 src/Rules/Install.hs                     |  36 +++--
 src/Rules/Libffi.hs                      |  60 +++++---
 src/Rules/Library.hs                     |  26 ++--
 src/Rules/Program.hs                     |   8 +-
 src/Rules/Register.hs                    |  47 ++++--
 src/Rules/Selftest.hs                    |  17 ---
 src/Rules/Test.hs                        |   1 -
 src/Rules/Wrappers.hs                    |  41 +++---
 src/Settings.hs                          |  19 +--
 src/Settings/Builders/Common.hs          |  17 ++-
 src/Settings/Builders/Configure.hs       |  34 +++--
 src/Settings/Builders/DeriveConstants.hs |  21 +--
 src/Settings/Builders/Ghc.hs             |  12 +-
 src/Settings/Builders/GhcCabal.hs        |  21 ++-
 src/Settings/Builders/GhcPkg.hs          |   4 +-
 src/Settings/Builders/Haddock.hs         |  11 +-
 src/Settings/Builders/HsCpp.hs           |   8 +-
 src/Settings/Builders/Hsc2Hs.hs          |   5 +-
 src/Settings/Builders/Make.hs            |  10 +-
 src/Settings/Install.hs                  |  11 --
 src/Settings/Packages/Ghc.hs             |   9 +-
 src/Settings/Packages/IntegerGmp.hs      |   7 +-
 src/Settings/Packages/Rts.hs             |   8 +-
 src/Settings/Path.hs                     | 245 -------------------------------
 src/UserSettings.hs                      |   8 +-
 src/Utilities.hs                         |  14 +-
 44 files changed, 733 insertions(+), 652 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 9b70568615e2763ff782279be28286373b59d8ff


More information about the ghc-commits mailing list