[commit: ghc] wip/ghc-8.8-merges: Hadrian: support in-tree GMP (86002ee)

git at git.haskell.org git at git.haskell.org
Thu Feb 21 15:10:35 UTC 2019


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

On branch  : wip/ghc-8.8-merges
Link       : http://ghc.haskell.org/trac/ghc/changeset/86002ee23e23110ae08eb896c2f086778ff44c17/ghc

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

commit 86002ee23e23110ae08eb896c2f086778ff44c17
Author: Alec Theriault <alec.theriault at gmail.com>
Date:   Wed Dec 5 20:46:21 2018 -0800

    Hadrian: support in-tree GMP
    
    Summary:
    This adds top-level configure flags '--with-intree-gmp' and
    '--with-framework-preferred', both of which are especially relevant
    on MacOS.
    
    Besides gaining two new flags, Hadrian also had to be taught what to
    do with the 'framework' in .cabal files.
    
    Test Plan:
    ./boot && ./configure --with-intree-gmp && ./hadrian/build.sh
    ./boot && ./configure --with-gmp-framework-preferred && ./hadrian/build.sh # on macos
    
    Reviewers: carter, snowleopard, alpmestan, hvr, goldfire, bgamari
    
    Subscribers: rwbarton, erikd
    
    GHC Trac Issues: #16001
    
    Differential Revision: https://phabricator.haskell.org/D5417


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

86002ee23e23110ae08eb896c2f086778ff44c17
 aclocal.m4                                 | 14 ++++++++++++++
 hadrian/cfg/system.config.in               |  6 ++++--
 hadrian/src/Hadrian/Haskell/Cabal/Parse.hs |  3 ++-
 hadrian/src/Hadrian/Haskell/Cabal/Type.hs  |  1 +
 hadrian/src/Oracles/Flag.hs                |  4 ++++
 hadrian/src/Settings/Builders/Ghc.hs       |  2 ++
 hadrian/src/Settings/Packages.hs           | 12 ++++--------
 libraries/integer-gmp/config.mk.in         |  2 ++
 libraries/integer-gmp/configure.ac         |  4 ++--
 mk/config.mk.in                            |  2 ++
 rules/build-package-data.mk                |  8 ++++++++
 11 files changed, 45 insertions(+), 13 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 86002ee23e23110ae08eb896c2f086778ff44c17


More information about the ghc-commits mailing list