[commit: ghc] ghc-8.6: circleci: Build with in-tree GMP on Darwin (578012b)

git at git.haskell.org git at git.haskell.org
Wed Oct 17 19:32:56 UTC 2018


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

On branch  : ghc-8.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/578012be13eb1548050d51c0a23bd1a98423f03e/ghc

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

commit 578012be13eb1548050d51c0a23bd1a98423f03e
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Oct 17 15:31:36 2018 -0400

    circleci: Build with in-tree GMP on Darwin
    
    Fixes #15404.


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

578012be13eb1548050d51c0a23bd1a98423f03e
 .circleci/config.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 18ae109..4414357 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -33,7 +33,7 @@ aliases:
   - &configure_unix
     run:
       name: Configure
-      command: ./configure
+      command: ./configure $CONFIGURE_OPTS
   - &configure_unix_32
     run:
       name: Configure
@@ -140,6 +140,8 @@ jobs:
       # Only Sierra and onwards supports clock_gettime. See #12858
       ac_cv_func_clock_gettime: "no"
       GHC_COLLECTOR_FLAVOR: x86_64-darwin
+      # Build with in-tree GMP since this isn't available on OS X by default.
+      CONFIGURE_OPTS: --with-intree-gmp
       <<: *buildenv
     steps:
       - checkout



More information about the ghc-commits mailing list