clear both possible places for the scons cache
old-commit-hash: 599f000cde3f94ca0843770ef9889cbcc5173398
This commit is contained in:
@@ -125,7 +125,8 @@ if not prebuilt:
|
||||
print("....%d" % i)
|
||||
time.sleep(1)
|
||||
subprocess.check_call(["scons", "-c"], cwd=BASEDIR, env=env)
|
||||
shutil.rmtree("/tmp/scons_cache")
|
||||
shutil.rmtree("/tmp/scons_cache", ignore_errors=True)
|
||||
shutil.rmtree("/data/scons_cache", ignore_errors=True)
|
||||
else:
|
||||
print("scons build failed after retry")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user