summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/evergreen.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 3aea79aa470..cca120d20c9 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -6758,7 +6758,7 @@ buildvariants:
gorootvars: PATH=/opt/mongodbtoolchain/v2/bin:$PATH
tooltags: -gccgoflags "-lsocket -lnsl"
compile_flags: CC=/opt/mongodbtoolchain/v2/bin/gcc CXX=/opt/mongodbtoolchain/v2/bin/g++ OBJCOPY=/opt/mongodbtoolchain/v2/bin/objcopy -j$(kstat cpu | sort -u | grep -c "^module") --release CCFLAGS="-m64" LINKFLAGS="-m64 -static-libstdc++ -static-libgcc" OBJCOPY=/opt/mongodbtoolchain/bin/objcopy
- num_jobs_available: $(kstat cpu | sort -u | grep -c "^module")
+ num_jobs_available: $(( $(kstat cpu | sort -u | grep -c "^module") / 2 ))
use_scons_cache: true
tasks:
- name: compile