summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-08-26 13:56:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-19 15:55:19 +0000
commit763a3efc818a57eb034a75c37300df0b8ea3eabc (patch)
tree790d9fb846abb8b5c9425d55a3862fdc478bab8a /evergreen
parentcc34fa291c577b580d8c3619cc787797a5bc9445 (diff)
downloadmongo-763a3efc818a57eb034a75c37300df0b8ea3eabc.tar.gz
SERVER-68003 Make experiment_unified_ninja.vars the default
(cherry picked from commit 41d0a45aaf90b8e4e9a91f13a72e5623ecd963c4) (cherry picked from commit 6e2d63630ee90db15b7b122aba1b8c538357a0df)
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/ninja_compile.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/evergreen/ninja_compile.sh b/evergreen/ninja_compile.sh
index f3b51ae5e1d..823944277be 100644
--- a/evergreen/ninja_compile.sh
+++ b/evergreen/ninja_compile.sh
@@ -5,6 +5,7 @@ cd src
set -o errexit
set -o verbose
+
activate_venv
python -m pip install ninja
if [ "Windows_NT" = "$OS" ]; then
@@ -13,8 +14,8 @@ if [ "Windows_NT" = "$OS" ]; then
for i in "${compile_env[@]}"; do
echo "set $i" >> msvc.bat
done
- echo "ninja install-core" >> msvc.bat
+ echo "ninja -f ${ninja_file} install-core" >> msvc.bat
cmd /C msvc.bat
else
- eval ${compile_env} ninja install-core
+ eval ${compile_env} ninja -f ${ninja_file} install-core
fi