[commit: packages/binary] master: Add -fno-spec-constr when building on Travis CI. (8287e4d)

git at git.haskell.org git at git.haskell.org
Sun Dec 14 17:55:29 UTC 2014


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

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/8287e4dbaf6a7109735ca659047e9c2e08bc2aa3

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

commit 8287e4dbaf6a7109735ca659047e9c2e08bc2aa3
Author: Lennart Kolmodin <kolmodin at google.com>
Date:   Thu Sep 25 20:47:03 2014 +0400

    Add -fno-spec-constr when building on Travis CI.
    
    It should save a lot of memory, and hopefully make the builds
    succeed more often.


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

8287e4dbaf6a7109735ca659047e9c2e08bc2aa3
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index a7f86f3..2c4c95a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ install:
  - cabal-1.20 install criterion deepseq mtl "QuickCheck >= 2.7.3" HUnit "test-framework-quickcheck2 >= 0.3" "random >= 1.0.1.0" attoparsec cereal -j
 
 script:
- - cabal-1.20 configure --enable-tests --enable-benchmarks -v2
+ - cabal-1.20 configure --enable-tests --enable-benchmarks -v2 --ghc-options=-fno-spec-constr
  - cabal-1.20 build
  - cabal-1.20 test
 # "cabal check" disabled due to -O2 warning



More information about the ghc-commits mailing list