[commit: ghc] wip/nfs-locking: Build only stage1 base library to fit into Travis 50 min limit for OSX. (b67f727)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:30:38 UTC 2017


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

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

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

commit b67f727b982025b1039994cdb7731fc2a47f2119
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Jan 7 15:43:14 2016 +0000

    Build only stage1 base library to fit into Travis 50 min limit for OSX.


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

b67f727b982025b1039994cdb7731fc2a47f2119
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 055edd5..4cc0396 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ sudo: false
 matrix:
     include:
         - os: linux
-          env: CABALVER=1.22 GHCVER=7.10.3
+          env: CABALVER=1.22 GHCVER=7.10.3 TARGET=
           addons:
               apt:
                   packages:
@@ -21,6 +21,7 @@ matrix:
               - cabal update
 
         - os: osx
+          env: TARGET=libraries/base/stage1/build/libHSbase-4.9.0.0.a
           before_install:
               - brew update
               - brew install ghc cabal-install
@@ -54,7 +55,7 @@ install:
     - ( cd ghc && ./configure )
 
 script:
-    - ./ghc/shake-build/build.sh -j --no-progress
+    - ./ghc/shake-build/build.sh -j --no-progress $TARGET
 
 cache:
     directories:



More information about the ghc-commits mailing list