[llvm-commits] [zorg] r114357 - /zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
Daniel Dunbar
daniel at zuster.org
Mon Sep 20 14:13:02 PDT 2010
Author: ddunbar
Date: Mon Sep 20 16:13:02 2010
New Revision: 114357
URL: http://llvm.org/viewvc/llvm-project?rev=114357&view=rev
Log:
buildbot/ClangBuilder: Add parameter to enable checking out compiler-rt.
Modified:
zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangBuilder.py?rev=114357&r1=114356&r2=114357&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Mon Sep 20 16:13:02 2010
@@ -21,7 +21,8 @@
make='make', jobs="%(jobs)s",
stage1_config='Debug+Asserts',
stage2_config='Release+Asserts',
- extra_configure_args=[], use_pty_in_tests=False):
+ extra_configure_args=[], use_pty_in_tests=False,
+ checkout_compiler_rt=False):
# Don't use in-dir builds with a two stage build process.
inDir = not outOfDir and not useTwoStage
if inDir:
@@ -57,13 +58,21 @@
# Checkout sources.
f.addStep(SVN(name='svn-llvm',
- mode='update', baseURL='http://llvm.org/svn/llvm-project/llvm/',
+ mode='update',
+ baseURL='http://llvm.org/svn/llvm-project/llvm/',
defaultBranch='trunk',
workdir=llvm_srcdir))
f.addStep(SVN(name='svn-clang',
- mode='update', baseURL='http://llvm.org/svn/llvm-project/cfe/',
+ mode='update',
+ baseURL='http://llvm.org/svn/llvm-project/cfe/',
defaultBranch='trunk',
workdir='%s/tools/clang' % llvm_srcdir))
+ if checkout_compiler_rt:
+ f.addStep(SVN(name='svn-compiler-rt',
+ mode='update',
+ baseURL='http://llvm.org/svn/llvm-project/compiler-rt/',
+ defaultBranch='trunk',
+ workdir='%s/project/compiler-rt' % llvm_srcdir))
# Clean up llvm (stage 1); unless in-dir.
if clean and llvm_srcdir != llvm_1_objdir:
More information about the llvm-commits
mailing list