Merge branch 'master' into input-dialog

This commit is contained in:
James Vecellio-Grant
2025-11-21 16:24:31 -08:00
committed by GitHub

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)