[llvm-commits] [zorg] r101728 - /zorg/trunk/zorg/buildbot/builders/DragonEggBuilder.py
Daniel Dunbar
daniel at zuster.org
Sun Apr 18 12:10:08 PDT 2010
Author: ddunbar
Date: Sun Apr 18 14:10:08 2010
New Revision: 101728
URL: http://llvm.org/viewvc/llvm-project?rev=101728&view=rev
Log:
Add support for building dragonegg using an alternate build script.
Modified:
zorg/trunk/zorg/buildbot/builders/DragonEggBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/DragonEggBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/DragonEggBuilder.py?rev=101728&r1=101727&r2=101728&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/DragonEggBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/DragonEggBuilder.py Sun Apr 18 14:10:08 2010
@@ -5,8 +5,8 @@
from buildbot.steps.shell import WarningCountingShellCommand
from buildbot.process.properties import WithProperties
-def getBuildFactory(triple, clean=True,
- jobs='%(jobs)s'):
+def getBuildFactory(triple, clean=True, jobs='%(jobs)s',
+ build_script='buildbot_self_strap'):
f = buildbot.process.factory.BuildFactory()
# Determine the build directory.
@@ -30,13 +30,14 @@
# Execute the DragonEgg self host script.
f.addStep(ShellCommand(name='build',
- command=['dragonegg.src/extras/buildbot_self_strap',
+ command=['dragonegg.src/extras/%s' % build_script,
# Path to LLVM src.
WithProperties("%(builddir)s/llvm.src"),
# Path to DragonEgg src.
WithProperties("%(builddir)s/dragonegg.src"),
# Path to base build dir.
WithProperties("%(builddir)s")],
+ description=["build"],
workdir='.',
haltOnFailure=False))
More information about the llvm-commits
mailing list