[zorg] r188692 - [llvmlab] Add support for apple-clang to _project_from_name.
Michael Gottesman
mgottesman at apple.com
Mon Aug 19 12:21:59 PDT 2013
Author: mgottesman
Date: Mon Aug 19 14:21:59 2013
New Revision: 188692
URL: http://llvm.org/viewvc/llvm-project?rev=188692&view=rev
Log:
[llvmlab] Add support for apple-clang to _project_from_name.
Modified:
zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
Modified: zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py?rev=188692&r1=188691&r2=188692&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py (original)
+++ zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py Mon Aug 19 14:21:59 2013
@@ -37,7 +37,8 @@ class NamedTrigger(Trigger):
Trigger.start(self)
def _project_from_name(buildname):
- name = buildname.replace('llvm-gcc', 'llvm$gcc')
+ name = buildname.replace('llvm-gcc', 'llvm$gcc')\
+ .replace('apple-clang', 'apple$clang')
params = name.split('-')
project = params[0].replace('$', '-')
return project
More information about the llvm-commits
mailing list