Let's try the stupid --with-gcc fix for os x.
authorMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 13:43:38 +0000 (21:43 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 13:43:38 +0000 (21:43 +0800)
See #111

.travis.yml

index 055edd5..e096ddf 100644 (file)
@@ -51,7 +51,8 @@ install:
     - ( cd ghc/shake-build && cabal install --only-dependencies )
 
     - ( cd ghc && ./boot )
-    - ( cd ghc && ./configure )
+    - if [ $TRAVIS_OS_NAME == osx ]; then ( cd ghc && ./configure --with-gcc="$(which clang)"); fi
+    - if [ $TRAVIS_OS_NAME == linux ]; then ( cd ghc && ./configure ); fi
 
 script:
     - ./ghc/shake-build/build.sh -j --no-progress