git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Add comments to ghc options
commitbc84436c91a619b1a882f78533a81fc65c83e7a5 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSat 8 Aug 2015, 20:26 (11 years ago) parent206953e
1 file changed+8
.travis.yml+8
.travis.yml+8
@@ -15,6 +15,14 @@ install:
1515 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
1616 - travis_retry cabal update
1717 - cabal sandbox init
18+ # Run with limited concurrency
19+ # Travis container infrastructure seems to expose all host CPUs (16?), thus
20+ # cabal and ghc tries to use them all. Which is bad idea on a shared box.
21+ # See also: https://ghc.haskell.org/trac/ghc/ticket/9221
22+ #
23+ # We probably want to be running with larger heap sizes when there are lots
24+ # of cores, to counteract the synchronization overhead of stop-the-world GC
25+ # across many cores. e.g. +RTS -A32m at least.
1826 - cabal install --only-dependencies --enable-tests -j2 --ghc-options='+RTS -A32m -RTS'
1927 - cabal install hpc-coveralls -j2
2028script: