Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ def main(argv):
# If we do not do this, the resident config will take precedence and changes
# to the cache file are ignored.
cwd = os.getcwd()
tdir = tempfile.mkdtemp()
os.chdir(tdir)
util.clean_dir(cwd)
os.chdir(cwd)
util.rmtree(tdir)

with step("cmake", halt_on_fail=True):
# TODO make the name of the cache file an argument to the script.
Expand Down