[zorg] r368948 - Add configure target

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 17:20:20 PDT 2019


Author: jdevlieghere
Date: Wed Aug 14 17:20:19 2019
New Revision: 368948

URL: http://llvm.org/viewvc/llvm-project?rev=368948&view=rev
Log:
Add configure target

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

Modified: zorg/trunk/zorg/jenkins/monorepo_build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/monorepo_build.py?rev=368948&r1=368947&r2=368948&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/monorepo_build.py (original)
+++ zorg/trunk/zorg/jenkins/monorepo_build.py Wed Aug 14 17:20:19 2019
@@ -304,10 +304,12 @@ def cmake_builder(target):
     if conf.j_level is not None:
         ninja_cmd += ["-j", conf.j_level]
 
-    if target == 'all' or target == 'build':
+    if target == 'all' or target == 'configure' or target == 'build':
         header("Cmake")
         run_cmd(conf.builddir(), cmake_cmd)
         footer()
+
+    if target == 'all' or target == 'build':
         header("Ninja build")
 
         # Build all if nothing is passed by the user.
@@ -553,11 +555,12 @@ def lldb_cmake_builder(target, variant=N
     delete_module_caches(conf.workspace)
     footer()
 
-    if target == 'all' or target == 'build':
+    if target == 'all' or target == 'configure' or target == 'build':
         header("Cmake")
         run_cmd(conf.lldbbuilddir(), cmake_cmd)
         footer()
 
+    if target == 'all' or target == 'build':
         header("Build")
         run_cmd(conf.lldbbuilddir(), [NINJA, '-v'])
         footer()
@@ -875,7 +878,7 @@ def run_cmd_errors_okay(working_dir, cmd
         (end_time - start_time).seconds, result))
 
 
-KNOWN_TARGETS = ['all', 'build', 'test', 'testlong', 'install']
+KNOWN_TARGETS = ['all', 'configure', 'build', 'test', 'testlong', 'install']
 KNOWN_BUILDS = [
     'clang', 'cmake', 'lldb-cmake', 'lldb-cmake-standalone',
     'lldb-cmake-xcode', 'lldb-cmake-sanitized', 'lldb-cmake-matrix', 'fetch',




More information about the llvm-commits mailing list