[commit: ghc] wip/T15952-2: Hadrian: support in-tree GMP (efc9584)

git at git.haskell.org git at git.haskell.org
Thu Jan 24 11:55:40 UTC 2019


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

On branch  : wip/T15952-2
Link       : http://ghc.haskell.org/trac/ghc/changeset/efc95841503a78504c0aa00925fb22c4ec4627af/ghc

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

commit efc95841503a78504c0aa00925fb22c4ec4627af
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


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

efc95841503a78504c0aa00925fb22c4ec4627af
 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 efc95841503a78504c0aa00925fb22c4ec4627af


More information about the ghc-commits mailing list