summaryrefslogtreecommitdiff
path: root/buildscripts/generate_compile_expansions.py
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2017-01-25 10:22:22 -0500
committerSam Kleinman <samk@10gen.com>2017-01-25 10:22:22 -0500
commitef208c94e55a04978b9b5dede6764a7b6c587b41 (patch)
tree86d129296b02f628f33e74bf0a0b574cf4ff8989 /buildscripts/generate_compile_expansions.py
parent8de1704501daa1c99a873554fc0a18632b778f8d (diff)
downloadmongo-ef208c94e55a04978b9b5dede6764a7b6c587b41.tar.gz
Revert "SERVER-27645: sync scons cache between compiles"
This reverts commit ab67716a0cee36d0860499b03344134814436844.
Diffstat (limited to 'buildscripts/generate_compile_expansions.py')
-rwxr-xr-xbuildscripts/generate_compile_expansions.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/buildscripts/generate_compile_expansions.py b/buildscripts/generate_compile_expansions.py
index b14562c6ff9..72a4e3e3937 100755
--- a/buildscripts/generate_compile_expansions.py
+++ b/buildscripts/generate_compile_expansions.py
@@ -69,15 +69,11 @@ else:
system_id_path = "/etc/mongodb-build-system-id"
default_cache_path_base = "/data/scons-cache"
-print 'scons_cache_path_base: {0}'.format(default_cache_path_base)
-
if os.path.isfile(system_id_path):
with open(system_id_path, "r") as f:
- build_system_id = f.readline().strip()
- default_cache_path = os.path.join(default_cache_path_base, build_system_id)
+ default_cache_path = os.path.join(default_cache_path_base, f.readline().strip())
print "scons_cache_path: {0}".format(default_cache_path)
- print "build_system_id: {0}".format(build_system_id)
scons_cache_mode = os.getenv("SCONS_CACHE_MODE")