Skip to content

Commit

Permalink
[sanitizer] Don't delete git checkout on clobber
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Dec 10, 2024
1 parent ad93356 commit 601fa4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ function clobber {
if [[ "$BUILDBOT_CLOBBER" != "" ]]; then
echo @@@BUILD_STEP clobber@@@
if [[ ! -v BUILDBOT_BUILDERNAME ]]; then
echo "Clobbering is supported only on buildbot only!"
echo "Clobbering is supported on buildbot only!"
exit 1
fi
rm_dirs ./*
find -maxdepth 1 -mindepth 1 -path ./llvm-project -prune -o -print -exec rm -rf {} \;
du -hs ./* | sort -h
return 0
else
BUILDBOT_BUILDERNAME=1 cleanup "$@"
fi
Expand Down

0 comments on commit 601fa4d

Please sign in to comment.