ci: fix upstream merge conflicts with prebuilts (#1503)

This commit is contained in:
Jason Wen
2025-11-21 17:23:53 -05:00
committed by GitHub
parent 0ba5cbea91
commit 4f13a0f775

View File

@@ -178,7 +178,8 @@ Export('envCython', 'np_version')
Export('env', 'arch')
# 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)
Clean(["."], cache_dir)