mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
testing/btest: Default to HILTI_JIT_PARALLELISM=1
This is a rework of b59bed9d06
moving
HILTI_JIT_PARALLELISM=1 into btest.cfg to make it default applicable to
btest -j users (and CI).
The background for this change is that spicyz may spawn up to nproc compiler
instances by default. Combined with btest -j, this may be nproc x nproc
instances worst case. Particularly with gcc, this easily overloads CI or
local systems, putting them into hard-to-recover-from thrashing/OOM states.
Exporting HILTI_JIT_PARALLELISM in the shell allows overriding.
This commit is contained in:
parent
cb500536ea
commit
7b99fc01a9
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ MinVersion = 0.63
|
||||||
[environment]
|
[environment]
|
||||||
ZEEKPATH=`bash -c %(testbase)s/../../%(build_dir)s/zeek-path-dev`
|
ZEEKPATH=`bash -c %(testbase)s/../../%(build_dir)s/zeek-path-dev`
|
||||||
HILTI_CXX_COMPILER_LAUNCHER=`f=%(testbase)s/../../%(build_dir)s/CMakeCache.txt && grep -q '^ENABLE_CCACHE:BOOL=true' $f && sed -n 's/^CCACHE_PROGRAM:FILEPATH=\(.*\)$/\1/p' $f`
|
HILTI_CXX_COMPILER_LAUNCHER=`f=%(testbase)s/../../%(build_dir)s/CMakeCache.txt && grep -q '^ENABLE_CCACHE:BOOL=true' $f && sed -n 's/^CCACHE_PROGRAM:FILEPATH=\(.*\)$/\1/p' $f`
|
||||||
|
HILTI_JIT_PARALLELISM=`bash -c 'echo ${HILTI_JIT_PARALLELISM:-1}'`
|
||||||
ZEEK_SEED_FILE=%(testbase)s/random.seed
|
ZEEK_SEED_FILE=%(testbase)s/random.seed
|
||||||
ZEEK_PLUGIN_PATH=
|
ZEEK_PLUGIN_PATH=
|
||||||
TZ=UTC
|
TZ=UTC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue