[zorg] r301733 - 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.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 19:38:35 PDT 2017
Author: gkistanova
Date: Fri Apr 28 21:38:35 2017
New Revision: 301733
URL: http://llvm.org/viewvc/llvm-project?rev=301733&view=rev
Log:
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.
Modified:
zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py?rev=301733&r1=301732&r2=301733&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py Fri Apr 28 21:38:35 2017
@@ -100,6 +100,7 @@ def addCmakeSteps(
('-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 @@ def getCmakeBuildFactory(
# 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(
More information about the llvm-commits
mailing list