diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2021-04-21 16:43:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-22 16:38:41 +0000 |
commit | 44e6740a3fcb12a4ebd097c03b62e89eb76fdb61 (patch) | |
tree | 94d94248296b1084755036b6bb9f0989d9d7b898 /buildscripts/generate_compile_expansions_shared_cache.py | |
parent | 574020b00707ee1e604465d60b239fa0a6662681 (diff) | |
download | mongo-44e6740a3fcb12a4ebd097c03b62e89eb76fdb61.tar.gz |
SERVER-54732 fixed validate cachedir debug type issue and turn on globally.
Diffstat (limited to 'buildscripts/generate_compile_expansions_shared_cache.py')
-rwxr-xr-x | buildscripts/generate_compile_expansions_shared_cache.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/buildscripts/generate_compile_expansions_shared_cache.py b/buildscripts/generate_compile_expansions_shared_cache.py index 4f31341c806..337e9669c0f 100755 --- a/buildscripts/generate_compile_expansions_shared_cache.py +++ b/buildscripts/generate_compile_expansions_shared_cache.py @@ -100,8 +100,9 @@ def generate_scons_cache_expansions(): shared_mount_root = '/efs' default_cache_path = os.path.join(shared_mount_root, system_uuid, "scons-cache") expansions["scons_cache_path"] = default_cache_path - expansions["scons_cache_args"] = "--cache={0} --cache-dir={1}".format( - scons_cache_mode, shlex.quote(default_cache_path)) + expansions[ + "scons_cache_args"] = "--cache={0} --cache-signature-mode=validate --cache-dir={1}".format( + scons_cache_mode, shlex.quote(default_cache_path)) # Local shared cache - host-based elif os.getenv("SCONS_CACHE_SCOPE") == "local": @@ -113,8 +114,9 @@ def generate_scons_cache_expansions(): default_cache_path = os.path.join(default_cache_path_base, system_uuid) expansions["scons_cache_path"] = default_cache_path - expansions["scons_cache_args"] = "--cache={0} --cache-dir={1}".format( - scons_cache_mode, shlex.quote(default_cache_path)) + expansions[ + "scons_cache_args"] = "--cache={0} --cache-signature-mode=validate --cache-dir={1}".format( + scons_cache_mode, shlex.quote(default_cache_path)) # No cache else: # Anything else is 'none' |