diff options
| author | Andrew Morrow <acm@mongodb.com> | 2019-02-11 17:55:50 -0500 |
|---|---|---|
| committer | Andrew Morrow <acm@mongodb.com> | 2019-02-18 12:28:51 -0500 |
| commit | 861fbd17473634d3ef991783e74a42b8c873e51b (patch) | |
| tree | 94101df74bd4c1da5453bacbda47aaa85e910149 /SConstruct | |
| parent | 1ba6286466917a01292f1b6f61c7b442770d7418 (diff) | |
| download | mongo-861fbd17473634d3ef991783e74a42b8c873e51b.tar.gz | |
SERVER-39483 Tag large build artifacts as non-cacheable
(cherry picked from commit 87881b0424d3706f57efa14b26729c9b5a7a0d4d)
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct index f0cca818635..07da2ec936f 100644 --- a/SConstruct +++ b/SConstruct @@ -3632,12 +3632,20 @@ vcxprojFile = env.Command( r"$PYTHON buildscripts\make_vcxproj.py mongodb") vcxproj = env.Alias("vcxproj", vcxprojFile) -env.Alias("distsrc-tar", env.DistSrc("mongodb-src-${MONGO_VERSION}.tar")) -env.Alias("distsrc-tgz", env.GZip( +distSrc = env.DistSrc("mongodb-src-${MONGO_VERSION}.tar") +env.NoCache(distSrc) +env.Alias("distsrc-tar", distSrc) + +distSrcGzip = env.GZip( target="mongodb-src-${MONGO_VERSION}.tgz", - source=["mongodb-src-${MONGO_VERSION}.tar"]) -) -env.Alias("distsrc-zip", env.DistSrc("mongodb-src-${MONGO_VERSION}.zip")) + source=[distSrc]) +env.NoCache(distSrcGzip) +env.Alias("distsrc-tgz", distSrcGzip) + +distSrcZip = env.DistSrc("mongodb-src-${MONGO_VERSION}.zip") +env.NoCache(distSrcZip) +env.Alias("distsrc-zip", distSrcZip) + env.Alias("distsrc", "distsrc-tgz") # Defaults for SCons provided flags. SetOption only sets the option to our value |
