summaryrefslogtreecommitdiff
path: root/SConstruct
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-16 15:02:06 +0000
commit35baeb29980662b6d82a00ab1fb98d120e593202 (patch)
tree3c5cd82079a6ade0fdfc46a2a5a4a3746ab0e993 /SConstruct
parent3ed1e1368861952f6215dad0ee71a4ce64f0aebc (diff)
downloadmongo-35baeb29980662b6d82a00ab1fb98d120e593202.tar.gz
SERVER-68003 Make experiment_unified_ninja.vars the default
(cherry picked from commit 41d0a45aaf90b8e4e9a91f13a72e5623ecd963c4) (cherry picked from commit 6e2d63630ee90db15b7b122aba1b8c538357a0df)
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct15
1 files changed, 5 insertions, 10 deletions
diff --git a/SConstruct b/SConstruct
index d9cf926dc66..be98b43100d 100755
--- a/SConstruct
+++ b/SConstruct
@@ -836,16 +836,11 @@ env_vars.Add('CXXFLAGS',
help='Sets flags for the C++ compiler',
converter=variable_shlex_converter)
-default_destdir = '$BUILD_ROOT/install'
-if get_option('ninja') != 'disabled':
- # Workaround for SERVER-53952 where issues wih different
- # ninja files building to the same install dir. Different
- # ninja files need to build to different install dirs.
- default_destdir = '$BUILD_DIR/install'
-
-env_vars.Add('DESTDIR',
+env_vars.Add(
+ 'DESTDIR',
help='Where builds will install files',
- default=default_destdir)
+ default='$BUILD_ROOT/install',
+)
env_vars.Add('DSYMUTIL',
help='Path to the dsymutil utility',
@@ -977,7 +972,7 @@ env_vars.Add('MSVC_VERSION',
env_vars.Add('NINJA_BUILDDIR',
help="Location for shared Ninja state",
- default="$BUILD_DIR/ninja",
+ default="$BUILD_ROOT/ninja",
)
env_vars.Add(