[llvm-commits] [zorg] r86692 - /zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py
Daniel Dunbar
daniel at zuster.org
Tue Nov 10 10:20:16 PST 2009
Author: ddunbar
Date: Tue Nov 10 12:20:15 2009
New Revision: 86692
URL: http://llvm.org/viewvc/llvm-project?rev=86692&view=rev
Log:
Allow jobs to be specified as a property.
Modified:
zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py?rev=86692&r1=86691&r2=86692&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py Tue Nov 10 12:20:15 2009
@@ -84,7 +84,7 @@
# Build llvm (stage 1).
f.addStep(WarningCountingShellCommand(name = "compile.llvm.stage1",
- command = "nice -n 10 make -j%d" % jobs,
+ command = WithProperties("nice -n 10 make -j%s" % jobs),
haltOnFailure = True,
description=["compile",
"llvm",
@@ -130,7 +130,7 @@
# Build llvm-gcc.
f.addStep(WarningCountingShellCommand(name="compile.llvm-gcc.stage1",
- command="nice -n 10 make -j%d" % jobs,
+ command = WithProperties("nice -n 10 make -j%s" % jobs),
haltOnFailure=True,
description=["compile",
"llvm-gcc"],
@@ -185,7 +185,7 @@
# Build LLVM (stage 2).
f.addStep(WarningCountingShellCommand(name = "compile.llvm.stage2",
- command = "nice -n 10 make -j%d" % jobs,
+ command = WithProperties("nice -n 10 make -j%s" % jobs),
haltOnFailure = True,
description=["compile",
"llvm",
@@ -226,7 +226,7 @@
# Build llvm-gcc (stage 2).
f.addStep(WarningCountingShellCommand(name="compile.llvm-gcc.stage2",
- command="nice -n 10 make -j%d" % jobs,
+ command=WithProperties("nice -n 10 make -j%s" % jobs),
haltOnFailure=True,
description=["compile",
"llvm-gcc",
More information about the llvm-commits
mailing list