[commit: ghc] wip/nfs-locking: Let's try the stupid --with-gcc fix for os x. (7d55b36)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:40:00 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/7d55b36149cf7f5896d9920c8dbd53ac3a8a787d/ghc

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

commit 7d55b36149cf7f5896d9920c8dbd53ac3a8a787d
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Wed Jan 6 21:43:38 2016 +0800

    Let's try the stupid --with-gcc fix for os x.
    
    See #111


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

7d55b36149cf7f5896d9920c8dbd53ac3a8a787d
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 055edd5..e096ddf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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



More information about the ghc-commits mailing list