mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-25 08:19:14 +03:00
devel: check only old version cases. turn parallel GC off for slow GHC versions.
This commit is contained in:
parent
5943d64d02
commit
4f833f8814
@ -16,22 +16,21 @@ v1 = $$(case $$(cabal --numeric-version) in \
|
||||
|
||||
ncpu = $(shell cat /proc/cpuinfo | egrep '^processor' | wc -l)
|
||||
jobs = $$(case $$(ghc --numeric-version) in \
|
||||
9.*|8.*|7.10.*|7.8.*) \
|
||||
echo -j$$(expr $(ncpu) '*' 3 '/' 4) \
|
||||
;; \
|
||||
7.6.*|7.4.*) \
|
||||
7.4.*|7.6.*) \
|
||||
;; \
|
||||
*) \
|
||||
echo -j$$(expr $(ncpu) '*' 3 '/' 4) \
|
||||
;; \
|
||||
esac)
|
||||
|
||||
gc = $$(case $$(ghc --numeric-version) in \
|
||||
9.*|8.8.*|8.6.*|8.4.*|8.2.*) \
|
||||
echo --ghc-option=+RTS --ghc-option=-qn2 --ghc-option=-RTS \
|
||||
7.4.*|7.6.*) \
|
||||
;; \
|
||||
8.0.*|7.*) \
|
||||
7.8.*|7.10.*|8.0.*) \
|
||||
echo --ghc-option=+RTS --ghc-option=-qg --ghc-option=-RTS \
|
||||
;; \
|
||||
*) \
|
||||
echo --ghc-option=+RTS --ghc-option=-qn2 --ghc-option=-RTS \
|
||||
;; \
|
||||
esac)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user