[zorg] r299787 - build.py: Move flag earlier so we can override it with --cmake-flag option
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 10:24:59 PDT 2017
Author: matze
Date: Fri Apr 7 12:24:59 2017
New Revision: 299787
URL: http://llvm.org/viewvc/llvm-project?rev=299787&view=rev
Log:
build.py: Move flag earlier so we can override it with --cmake-flag option
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=299787&r1=299786&r2=299787&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Fri Apr 7 12:24:59 2017
@@ -224,6 +224,8 @@ def cmake_builder(target):
else:
cmake_cmd += ["-DCMAKE_BUILD_TYPE=Release"]
+ cmake_cmd += ["-DLLVM_BUILD_EXTERNAL_COMPILER_RT=On"]
+
for flag in conf.cmake_flags:
cmake_cmd += [flag]
@@ -235,8 +237,6 @@ def cmake_builder(target):
if conf.globalisel:
cmake_cmd += ["-DLLVM_BUILD_GLOBAL_ISEL=ON"]
- cmake_cmd += ["-DLLVM_BUILD_EXTERNAL_COMPILER_RT=On"]
-
lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v']
if conf.max_parallel_tests:
lit_flags += ['-j', conf.max_parallel_tests]
More information about the llvm-commits
mailing list