[zorg] r191795 - [llvmlab] sudo rm -rfv the old build directory instead of just rm -rfv.
Michael Gottesman
mgottesman at apple.com
Tue Oct 1 13:50:36 PDT 2013
Author: mgottesman
Date: Tue Oct 1 15:50:35 2013
New Revision: 191795
URL: http://llvm.org/viewvc/llvm-project?rev=191795&view=rev
Log:
[llvmlab] sudo rm -rfv the old build directory instead of just rm -rfv.
On some of the non-incremental llvmlab builders a directory was getting spurious
ownership by root. I do not have time to investigate this now, but doing a sudo
rm -rfv should fix the issue on the bots in question.
Modified:
zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangBuilder.py?rev=191795&r1=191794&r2=191795&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Tue Oct 1 15:50:35 2013
@@ -663,13 +663,15 @@ def phasedClang(config_options, is_boots
clang_build_dir = 'clang-build'
if incremental:
f.addStep(buildbot.steps.shell.ShellCommand(
- name='rm.clang-build', command=['rm', '-rfv', clang_build_dir],
+ name='rm.clang-build', command=['sudo', 'rm', '-rfv',
+ clang_build_dir],
haltOnFailure=False, description=['rm dir', clang_build_dir],
workdir=WithProperties('%(builddir)s'),
doStepIf=_did_last_build_fail))
else:
f.addStep(buildbot.steps.shell.ShellCommand(
- name='rm.clang-build', command=['rm', '-rfv', clang_build_dir],
+ name='rm.clang-build', command=['sudo', 'rm', '-rfv',
+ clang_build_dir],
haltOnFailure=False, description=['rm dir', clang_build_dir],
workdir=WithProperties('%(builddir)s')))
More information about the llvm-commits
mailing list