Darwin: Use gmp from homebrew
authorBen Gamari <ben@smart-cactus.org>
Wed, 29 Nov 2017 22:02:17 +0000 (17:02 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 29 Nov 2017 22:03:44 +0000 (17:03 -0500)
As discussed on ghc-devs, OS X appears to ship an old or otherwise broken gmp.

https://mail.haskell.org/pipermail/ghc-devs/2017-June/014321.html

.circleci/prepare-system.sh

index 4b0218e..193fac9 100755 (executable)
@@ -52,7 +52,7 @@ case "$(uname)" in
     if [[ -n ${TARGET:-} ]]; then
       fail "uname=$(uname) not supported for cross-compilation"
     fi
-    brew install ghc cabal-install python3 ncurses
+    brew install ghc cabal-install python3 ncurses gmp
     cabal update
     cabal install --reinstall alex happy haddock hscolour --index-state=$hackage_index_state
     # put them on the $PATH, don't fail if already installed