diff options
author | Andrew Morrow <acm@mongodb.com> | 2020-04-17 12:06:41 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-17 21:22:51 +0000 |
commit | 463cc815528b42c3c2f81dc7137cc27f7e7cc974 (patch) | |
tree | 02e9284f0808fe3e9750ca6097cef4b9001d10d1 /SConstruct | |
parent | 1dd40b06088441ce54c04ba25695fd8efcabde05 (diff) | |
download | mongo-463cc815528b42c3c2f81dc7137cc27f7e7cc974.tar.gz |
SERVER-47399 Use File Nodes to manage dSYM substructure
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 3f2dd830032..23c17160d01 100644 --- a/SConstruct +++ b/SConstruct @@ -744,6 +744,10 @@ env_vars.Add('DESTDIR', help='Where hygienic builds will install files', default='$BUILD_ROOT/install') +env_vars.Add('DSYMUTIL', + help='Path to the dsymutil utility', +) + env_vars.Add('GITDIFFFLAGS', help='Sets flags for git diff', default='') @@ -936,6 +940,10 @@ env_vars.Add('SHLINKFLAGS', help='Sets flags for the linker when building shared libraries', converter=variable_shlex_converter) +env_vars.Add('STRIP', + help='Path to the strip utility (non-darwin platforms probably use OBJCOPY for this)', +) + env_vars.Add('TARGET_ARCH', help='Sets the architecture to build for', converter=variable_arch_converter, @@ -3947,7 +3955,10 @@ if get_option('ninja') != 'disabled': if get_option('install-mode') == 'hygienic': if get_option('separate-debug') == "on" or env.TargetOSIs("windows"): - env.Tool('separate_debug') + separate_debug = Tool('separate_debug') + if not separate_debug.exists(env): + env.FatalError('Cannot honor --separate-debug because the separate_debug.py Tool reported as nonexistent') + separate_debug(env) env["AUTO_ARCHIVE_TARBALL_SUFFIX"] = "tgz" |