summaryrefslogtreecommitdiff
path: root/etc/system_perf.yml
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-02-23 13:04:48 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-24 05:37:03 +0000
commitabb82fc8a440587a3d9d1ee9cc7926a9dfba282a (patch)
tree97e347010d6475c78200115dda32aaff7c2bc7d6 /etc/system_perf.yml
parent6979525674af67405984c58585766dd4d0c3f2a8 (diff)
downloadmongo-abb82fc8a440587a3d9d1ee9cc7926a9dfba282a.tar.gz
SERVER-54700 Allow customizing patch compile flags via parameterized builds
Diffstat (limited to 'etc/system_perf.yml')
-rwxr-xr-xetc/system_perf.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/system_perf.yml b/etc/system_perf.yml
index a800be1ead7..311019972ab 100755
--- a/etc/system_perf.yml
+++ b/etc/system_perf.yml
@@ -1,6 +1,11 @@
command_type: system
stepback: false
+## Parameters for parameterized builds (see https://github.com/evergreen-ci/evergreen/wiki/Parameterized-Builds)
+parameters:
+ - key: patch_compile_flags
+ description: "Additional SCons flags to be applied during scons compile invocations in this patch"
+
variables:
###
# Leave this section uncommented to enable compile.
@@ -342,7 +347,7 @@ functions:
set -o errexit
set -o verbose
source "${workdir}/compile_venv/bin/activate"
- python ./buildscripts/scons.py ${compile_flags|} ${scons_cache_args|} install-core MONGO_VERSION=${version} DESTDIR=$(pwd)/mongodb
+ python ./buildscripts/scons.py ${compile_flags|} ${scons_cache_args|} install-core MONGO_VERSION=${version} DESTDIR=$(pwd)/mongodb ${patch_compile_flags|}
mkdir -p mongodb/jstests/hooks
if [ -d jstests/hooks ]
then