mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-03 22:53:44 +08:00
ci: fix upstream merge conflicts with prebuilts (#1503)
This commit is contained in:
+2
-1
@@ -178,7 +178,8 @@ Export('envCython', 'np_version')
|
|||||||
Export('env', 'arch')
|
Export('env', 'arch')
|
||||||
|
|
||||||
# Setup cache dir
|
# Setup cache dir
|
||||||
cache_dir = '/data/scons_cache' if arch == "larch64" else '/tmp/scons_cache'
|
default_cache_dir = '/data/scons_cache' if arch == "larch64" else '/tmp/scons_cache'
|
||||||
|
cache_dir = ARGUMENTS.get('cache_dir', default_cache_dir)
|
||||||
CacheDir(cache_dir)
|
CacheDir(cache_dir)
|
||||||
Clean(["."], cache_dir)
|
Clean(["."], cache_dir)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user