mirror of https://github.com/1okko/openpilot.git
tici has a real /tmp
This commit is contained in:
parent
36391bf12f
commit
bbd1b758ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue