[zorg] r188825 - [llvmlab] Add support for using apple-clang roots in GetCompilerArtifacts.
Michael Gottesman
mgottesman at apple.com
Tue Aug 20 13:49:14 PDT 2013
Author: mgottesman
Date: Tue Aug 20 15:49:14 2013
New Revision: 188825
URL: http://llvm.org/viewvc/llvm-project?rev=188825&view=rev
Log:
[llvmlab] Add support for using apple-clang roots in GetCompilerArtifacts.
Modified:
zorg/trunk/zorg/buildbot/Artifacts.py
Modified: zorg/trunk/zorg/buildbot/Artifacts.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/Artifacts.py?rev=188825&r1=188824&r2=188825&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/Artifacts.py (original)
+++ zorg/trunk/zorg/buildbot/Artifacts.py Tue Aug 20 15:49:14 2013
@@ -161,8 +161,9 @@ def uploadArtifacts(f, rootdir='clang-in
return f
def project_from_name(builder_name):
- if 'clang' in builder_name:
- return 'clang'
+ for project in ('apple-clang', 'clang'):
+ if project in builder_name:
+ return project
raise RuntimeError('Invalid builder name.')
def determine_url(props):
More information about the llvm-commits
mailing list