[zorg] r340327 - lldb-cmake: make cmake build type configurable
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 21 12:51:35 PDT 2018
Author: adrian
Date: Tue Aug 21 12:51:35 2018
New Revision: 340327
URL: http://llvm.org/viewvc/llvm-project?rev=340327&view=rev
Log:
lldb-cmake: make cmake build type configurable
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=340327&r1=340326&r2=340327&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Tue Aug 21 12:51:35 2018
@@ -579,7 +579,7 @@ def lldb_cmake_builder():
results_file = os.path.join(test_dir, 'results.xml')
dest_dir = os.path.join(conf.workspace, 'results', 'lldb')
run_ws(["mkdir", "-p", conf.lldbbuilddir()])
-
+ cmake_build_type = conf.cmake_build_type if conf.cmake_build_type else 'RelWithDebInfo'
header("Configure")
dotest_args=['--arch', 'x86_64', '--build-dir',
conf.lldbbuilddir()+'/lldb-test-build.noindex',
@@ -591,7 +591,7 @@ def lldb_cmake_builder():
conf.srcdir(),
'-DLLVM_ENABLE_ASSERTIONS:BOOL={}'.format(
"TRUE" if conf.assertions else "FALSE"),
- '-DCMAKE_BUILD_TYPE=RelWithDebInfo',
+ '-DCMAKE_BUILD_TYPE='+cmake_build_type,
'-DCMAKE_MAKE_PROGRAM=' + NINJA,
'-DLLVM_ENABLE_MODULES=On',
'-DCMAKE_EXPORT_COMPILE_COMMANDS=ON',
More information about the llvm-commits
mailing list