[zorg] r178753 - Unite the imports of the clang msvc build factory/phasedclang into one module import with a rename. This additionally helps with reconfiguring the master.

Michael Gottesman mgottesman at apple.com
Thu Apr 4 01:00:57 PDT 2013


Author: mgottesman
Date: Thu Apr  4 03:00:57 2013
New Revision: 178753

URL: http://llvm.org/viewvc/llvm-project?rev=178753&view=rev
Log:
Unite the imports of the clang msvc build factory/phasedclang into one module import with a rename. This additionally helps with reconfiguring the master.

Modified:
    zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py

Modified: zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py?rev=178753&r1=178752&r2=178753&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py (original)
+++ zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py Thu Apr  4 03:00:57 2013
@@ -1,7 +1,6 @@
 #from zorg.buildbot.builders.LNTBuilder import CreateLNTNightlyFactory
 from zorg.buildbot.Artifacts import rsync_user, master_name
-from zorg.buildbot.builders.ClangBuilder import getClangMSVCBuildFactory
-from zorg.buildbot.builders.ClangBuilder import phasedClang
+import zorg.buildbot.builders.ClangBuilder as ClangBuilder
 from zorg.buildbot.builders.LLDBBuilder import getLLDBxcodebuildFactory
 import zorg.buildbot.builders.LibCXXBuilder as LibCXXBuilder
 
@@ -105,7 +104,7 @@ def construct_compiler_builder_from_name
                 build_style != 'DA'):
                 raise ValueError, "invalid builder name: %r" % name
             # FIXME: Shouldn't have to hard code jobs or cmake path here.
-            return { 'factory' : getClangMSVCBuildFactory(
+            return { 'factory' : ClangBuilder.getClangMSVCBuildFactory(
                     cmake = r"c:\Program Files\CMake 2.8\bin\cmake",
                     jobs = 4) }
         else:
@@ -135,7 +134,7 @@ def construct_compiler_builder_from_name
 
     # build_cc must be set for a bootstrapped compiler
     if compiler == 'clang':
-        return { 'factory' : phasedClang(config_options,
+        return { 'factory' : ClangBuilder.phasedClang(config_options,
                                          is_bootstrap=(build_cc is None),
                                          use_lto=use_lto,
                                          incremental=incremental) }





More information about the llvm-commits mailing list