[zorg] r188298 - Attempt to update LibCXX builder to use 'lit' from source.
Daniel Dunbar
daniel at zuster.org
Tue Aug 13 10:51:50 PDT 2013
Author: ddunbar
Date: Tue Aug 13 12:51:49 2013
New Revision: 188298
URL: http://llvm.org/viewvc/llvm-project?rev=188298&view=rev
Log:
Attempt to update LibCXX builder to use 'lit' from source.
- Also, always use a fresh virtualenv.
Modified:
zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py?rev=188298&r1=188297&r2=188298&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py Tue Aug 13 12:51:49 2013
@@ -39,14 +39,24 @@ def getLibCXXBuilder():
workdir='sources/lib',
env={ 'CC' : CC, 'CXX' : CXX, 'TRIPLE' : '-apple-'}))
+ # Get the 'lit' sources.
+ f.addStep(SVN(
+ name='pull.lit', mode='incremental', method='fresh',
+ baseURL='http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit',
+ workdir='lit.src', alwaysUseLatest=False))
+
# Install a copy of 'lit' in a virtualenv.
f.addStep(buildbot.steps.shell.ShellCommand(
- name='venv.lit.make', command=[
- '/usr/local/bin/virtualenv', 'lit.venv'],
+ name='venv.lit.clean',
+ command=['rm', '-rf', 'lit.venv'],
+ workdir='.', haltOnFailure=True))
+ f.addStep(buildbot.steps.shell.ShellCommand(
+ name='venv.lit.make',
+ command=['/usr/local/bin/virtualenv', 'lit.venv'],
workdir='.', haltOnFailure=True))
f.addStep(buildbot.steps.shell.ShellCommand(
name='venv.lit.install',
- command=['lit.venv/bin/pip', 'install', 'lit'],
+ command=['lit.venv/bin/python', 'lit.src/setup.py', 'install'],
workdir='.', haltOnFailure=True))
# Run the tests with the system's dylib
More information about the llvm-commits
mailing list