[commit: ghc] wip/nfs-locking: Refactor command line arguments and flavours (0530e0d)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:55:29 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/0530e0df5b9076b1643a2d3b6a4abf4f31041f3c/ghc
>---------------------------------------------------------------
commit 0530e0df5b9076b1643a2d3b6a4abf4f31041f3c
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Mon Aug 14 23:12:52 2017 +0100
Refactor command line arguments and flavours
* Get rid of unsafePerformIO using shakeExtra
* Move diagnostic info utilities to the library
See #347
>---------------------------------------------------------------
0530e0df5b9076b1643a2d3b6a4abf4f31041f3c
hadrian.cabal | 2 +-
src/CmdLineFlag.hs | 128 ------------------------------
src/CommandLine.hs | 128 ++++++++++++++++++++++++++++++
src/Flavour.hs | 24 +++---
src/Hadrian/Utilities.hs | 160 ++++++++++++++++++++++++++++++++++++--
src/Main.hs | 58 ++++++++------
src/Rules.hs | 9 +--
src/Rules/Cabal.hs | 1 -
src/Rules/Configure.hs | 9 ++-
src/Rules/Data.hs | 1 -
src/Rules/Documentation.hs | 3 +-
src/Rules/Generate.hs | 18 +++--
src/Rules/Gmp.hs | 1 -
src/Rules/Install.hs | 6 +-
src/Rules/Library.hs | 3 +-
src/Rules/Program.hs | 18 +++--
src/Rules/Register.hs | 1 -
src/Rules/Selftest.hs | 1 -
src/Rules/SourceDist.hs | 1 -
src/Rules/Test.hs | 3 +-
src/Settings.hs | 40 +++++-----
src/Settings/Builders/Ghc.hs | 5 +-
src/Settings/Builders/GhcCabal.hs | 7 +-
src/Settings/Default.hs | 18 +++--
src/Settings/Packages/Base.hs | 8 +-
src/Settings/Packages/Compiler.hs | 4 +-
src/UserSettings.hs | 20 +++--
src/Utilities.hs | 131 ++++++-------------------------
28 files changed, 443 insertions(+), 365 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 0530e0df5b9076b1643a2d3b6a4abf4f31041f3c
More information about the ghc-commits
mailing list