summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-02-03 11:43:43 -0600
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-03 20:34:57 +0000
commitd4baf64a2da1a785d428888f3ce047367ccc2a7a (patch)
treefc1ece8b9799cbe1af404f711a8bd341703e318f /evergreen
parentbf96dbdca5e9c23cf541cb6f53292a18d837cde5 (diff)
downloadmongo-d4baf64a2da1a785d428888f3ce047367ccc2a7a.tar.gz
SERVER-60891 Make specialized ninja evergreen builders for common platforms.
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/ninja_compile.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/evergreen/ninja_compile.sh b/evergreen/ninja_compile.sh
index eea669343fe..f3b51ae5e1d 100644
--- a/evergreen/ninja_compile.sh
+++ b/evergreen/ninja_compile.sh
@@ -10,8 +10,11 @@ python -m pip install ninja
if [ "Windows_NT" = "$OS" ]; then
vcvars="$(vswhere -latest -property installationPath | tr '\\' '/' | dos2unix.exe)/VC/Auxiliary/Build/"
echo "call \"$vcvars/vcvarsall.bat\" amd64" > msvc.bat
+ for i in "${compile_env[@]}"; do
+ echo "set $i" >> msvc.bat
+ done
echo "ninja install-core" >> msvc.bat
cmd /C msvc.bat
else
- ninja install-core
+ eval ${compile_env} ninja install-core
fi