Remove the source code as well if a clean build is requested by a property; make sure LIT is in the verbose mode by default.
git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@301733 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/zorg/buildbot/builders/UnifiedTreeBuilder.py b/zorg/buildbot/builders/UnifiedTreeBuilder.py
index e5fca1d..e6e650d 100644
--- a/zorg/buildbot/builders/UnifiedTreeBuilder.py
+++ b/zorg/buildbot/builders/UnifiedTreeBuilder.py
@@ -100,6 +100,7 @@
('-DLLVM_BUILD_TESTS=', 'ON'),
('-DLLVM_ENABLE_ASSERTIONS=', 'ON'),
('-DLLVM_OPTIMIZED_TABLEGEN=', 'ON'),
+ ('-DLLVM_LIT_ARGS=', '"-v"'),
])
# Create configuration files with cmake, unless this has been already done
@@ -186,14 +187,15 @@
# Overwrite pre-set items with the given ones, so user can set anything.
merged_env.update(env)
- cleanBuildRequested = lambda step: step.build.getProperty("clean") or clean
+ cleanBuildRequested = lambda step: clean or step.build.getProperty("clean")
f = getLLVMBuildFactoryAndSVNSteps(
depends_on_projects=depends_on_projects,
llvm_srcdir=llvm_srcdir,
obj_dir=obj_dir,
install_dir=install_dir,
- cleanBuildRequested=cleanBuildRequested,
+ # We want a clean checkout only if requested by the property.
+ cleanBuildRequested=step.build.getProperty("clean"),
**kwargs) # Pass through all the extra arguments.
addCmakeSteps(