diff options
author | Andrew Morrow <andrew.morrow@10gen.com> | 2019-08-15 14:08:32 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-15 14:08:32 +0000 |
commit | 0fc03d1fc99f14e52eaa2239812309893c89d4b6 (patch) | |
tree | a14ffe1b612be75a7bb199902221722632669651 /SConstruct | |
parent | 920169417e7247744f7a42653062127d0e8aba32 (diff) | |
download | mongo-0fc03d1fc99f14e52eaa2239812309893c89d4b6.tar.gz |
SERVER-41672 Use hygienic to produce dist and distsrc archives in evergreen
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index bf733e5406e..3e1ea100f5c 100644 --- a/SConstruct +++ b/SConstruct @@ -3795,7 +3795,14 @@ if get_option('install-mode') == 'hygienic': "debug" ] ), - + + ".pdb": env.SuffixMap( + directory="$PREFIX_DEBUGDIR", + default_roles=[ + "debug" + ] + ), + ".lib": env.SuffixMap( directory="$PREFIX_LIBDIR", default_roles=[ @@ -3817,6 +3824,12 @@ if get_option('install-mode') == 'hygienic': name="${{SERVER_DIST_BASENAME[{PREFIX_LEN}:]}}".format(PREFIX_LEN=len(env.get("AIB_PACKAGE_PREFIX"))) ) + env.AddPackageNameAlias( + component="dist", + role="debug", + name="${{SERVER_DIST_BASENAME[{PREFIX_LEN}:]}}-debugsymbols".format(PREFIX_LEN=len(env.get("AIB_PACKAGE_PREFIX"))) + ) + if env['PLATFORM'] == 'posix': env.AppendUnique( RPATH=[ @@ -4185,8 +4198,10 @@ if get_option('install-mode') == 'hygienic': # the evergreen.yml make this decision if env.TargetOSIs("windows"): env.Alias("archive-dist", "zip-dist") + env.Alias("archive-dist-debug", "zip-dist-debug") else: env.Alias("archive-dist", "tar-dist") + env.Alias("archive-dist-debug", "tar-dist-debug") # We don't want installing files to cause them to flow into the cache, # since presumably we can re-install them from the origin if needed. |