diff options
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/generate_compile_expansions_shared_cache.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/buildscripts/generate_compile_expansions_shared_cache.py b/buildscripts/generate_compile_expansions_shared_cache.py index e2aa879b596..685eedb629f 100755 --- a/buildscripts/generate_compile_expansions_shared_cache.py +++ b/buildscripts/generate_compile_expansions_shared_cache.py @@ -99,14 +99,8 @@ 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 - # Patches are read only, unless they are for a commit queue merge. - if os.getenv("IS_PATCH") and os.getenv("IS_COMMIT_QUEUE") != "true": - expansions[ - "scons_cache_args"] = "--cache={0} --cache-dir='{1}' --cache-readonly".format( - scons_cache_mode, default_cache_path) - else: - expansions["scons_cache_args"] = "--cache={0} --cache-dir='{1}'".format( - scons_cache_mode, default_cache_path) + expansions["scons_cache_args"] = "--cache={0} --cache-dir='{1}'".format( + scons_cache_mode, default_cache_path) # Local shared cache - host-based elif os.getenv("SCONS_CACHE_SCOPE") == "local": |