[PATCH] [zorg] Support Windows/Linux Clang CMake builds with unified builder.

Rick Foos rfoos at codeaurora.org
Thu Jan 8 08:20:13 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: zorg/buildbot/builders/ClangBuilder.py:28
@@ +27,3 @@
+""" Get or update Clang source tree from SCM."""
+def getClangSource(f,
+        llvm_srcdir='.',
----------------
This should be a unified getLLVMSource using a dictionary for SVN arguments/tree locations. The use passing a list of projects for update.

================
Comment at: zorg/buildbot/builders/ClangBuilder.py:59
@@ -18,1 +58,3 @@
+    return f
+
 def getClangBuildFactory(
----------------
This particular one is used by an lldb experimental builder and should be removed.

================
Comment at: zorg/buildbot/builders/ClangBuilder.py:508
@@ -453,1 +507,3 @@
 
+            # Phase 2 build with built Clang.
+            cmakeGenerator2='Ninja',     
----------------
This is original behavior but allows the caller to pass an entire step 2 definition.

The only exception is the stage1/stage2 framework for the built compiler(s).

================
Comment at: zorg/buildbot/builders/ClangBuilder.py:563
@@ -496,2 +562,3 @@
     if jobs is not None:
         jobs_cmd=["-j"+str(jobs)]
+        lit_args+=" -j"+str(jobs)
----------------
This section needs to support the jobs property.

http://reviews.llvm.org/D6866

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list