mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Use limit-build-mem by default in bench/test scripts
Otherwise we may accidentally run into memory hog issues.
This commit is contained in:
parent
8d9396711c
commit
0cfd6251c1
@ -466,7 +466,7 @@ MEASURE=1
|
||||
GAUGE_ARGS=
|
||||
BUILD_ONCE=0
|
||||
|
||||
CABAL_BUILD_OPTIONS="--flag fusion-plugin "
|
||||
CABAL_BUILD_OPTIONS="--flag fusion-plugin --flag limit-build-mem"
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Read command line
|
||||
|
@ -49,6 +49,7 @@ COVERAGE=0
|
||||
MEASURE=1
|
||||
HPC_REPORT_OPTIONS=
|
||||
RAW=0
|
||||
CABAL_BUILD_OPTIONS="--flag limit-build-mem"
|
||||
|
||||
# XXX add a bisect option
|
||||
while test -n "$1"
|
||||
@ -58,7 +59,7 @@ do
|
||||
# options with arguments
|
||||
--targets) shift; TARGETS=$1; shift ;;
|
||||
--with-compiler) shift; CABAL_WITH_COMPILER=$1; shift ;;
|
||||
--cabal-build-options) shift; CABAL_BUILD_OPTIONS=$1; shift ;;
|
||||
--cabal-build-options) shift; CABAL_BUILD_OPTIONS+=$1; shift ;;
|
||||
--hpc-report-options) shift; HPC_REPORT_OPTIONS=$1; shift ;;
|
||||
--rtsopts) shift; RTS_OPTIONS=$1; shift ;;
|
||||
# flags
|
||||
|
Loading…
Reference in New Issue
Block a user