[zorg] r223167 - Added a simple LLDB builder.

Sean Callanan scallanan at apple.com
Tue Dec 2 14:40:18 PST 2014


Author: spyffe
Date: Tue Dec  2 16:40:18 2014
New Revision: 223167

URL: http://llvm.org/viewvc/llvm-project?rev=223167&view=rev
Log:
Added a simple LLDB builder.

Modified:
    zorg/trunk/zorg/jenkins/build.py

Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=223167&r1=223166&r2=223167&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Tue Dec  2 16:40:18 2014
@@ -172,6 +172,14 @@ def clang_builder(target):
         footer()
         # run_cmd(conf.builddir(), make_check_debug)
 
+def lldb_builder():
+    """Do an Xcode build of lldb."""
+    xcodebuild_cmd = ["xcodebuild", "-configuration", "DebugClang", "-scheme", "lldb-tool"]
+
+    header("Make All")
+    run_cmd("lldb", xcodebuild_cmd)
+    footer()
+        
 def check_repo_state(path):
     """Check the SVN repo at the path has all the
     nessessary repos checked out.  Check this by
@@ -378,7 +386,7 @@ def run_cmd(working_dir, cmd):
 
 
 KNOWN_TARGETS = ['all', 'build', 'test', 'testlong']
-KNOWN_BUILDS = ['clang', 'cmake', 'derive', 'derive-lldb', 'fetch', 'artifact']
+KNOWN_BUILDS = ['clang', 'cmake', 'lldb', 'derive', 'derive-lldb', 'fetch', 'artifact']
 
 
 def parse_args():
@@ -410,6 +418,8 @@ def main():
     try:
         if args.build_type == 'clang':
             clang_builder(args.build_target)
+        elif args.build_type == 'lldb':
+            lldb_builder()
         elif args.build_type == 'cmake':
             cmake_builder(args.build_target)
         elif args.build_type == 'derive':





More information about the llvm-commits mailing list