tici has a real /tmp
old-commit-hash: bbd1b758ffc223ebee621d069dbc312a93bf6466
This commit is contained in:
@@ -195,7 +195,7 @@ env = Environment(
|
||||
CYTHONCFILESUFFIX=".cpp",
|
||||
tools=["default", "cython"]
|
||||
)
|
||||
|
||||
|
||||
if os.environ.get('SCONS_CACHE'):
|
||||
cache_dir = '/tmp/scons_cache'
|
||||
|
||||
@@ -209,6 +209,9 @@ if os.environ.get('SCONS_CACHE'):
|
||||
if not os.path.isdir(cache_dir_branch) and os.path.isdir(cache_dir):
|
||||
shutil.copytree(cache_dir, cache_dir_branch)
|
||||
cache_dir = cache_dir_branch
|
||||
elif TICI:
|
||||
cache_dir = '/data/scons_cache'
|
||||
|
||||
CacheDir(cache_dir)
|
||||
|
||||
node_interval = 5
|
||||
|
||||
Reference in New Issue
Block a user