[zorg] r276722 - [GreenDragon] Thread DYLIB_LIBRARY_PATH via cmake
Bruno Cardoso Lopes via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 20:21:01 PDT 2016
Author: bruno
Date: Mon Jul 25 22:21:01 2016
New Revision: 276722
URL: http://llvm.org/viewvc/llvm-project?rev=276722&view=rev
Log:
[GreenDragon] Thread DYLIB_LIBRARY_PATH via cmake
Use the CMAKE option introduced in r276710 to pass DYLIB_LIBRARY_PATH
to libtool.
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=276722&r1=276721&r2=276722&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Mon Jul 25 22:21:01 2016
@@ -168,6 +168,7 @@ def cmake_builder(target):
check_repo_state(conf.workspace)
env = []
+ dyld_path = ""
if conf.lto and conf.liblto():
dyld_path = conf.liblto()
env.extend(["env", "DYLD_LIBRARY_PATH=" + dyld_path])
@@ -184,6 +185,8 @@ def cmake_builder(target):
cmake_cmd += ['-DLLVM_BUILD_EXAMPLES=Off']
if not max_parallel_links:
max_parallel_links = 1
+ if dyld_path:
+ cmake_cmd += ['-DDYLD_LIBRARY_PATH=' + dyld_path]
else:
cmake_cmd += ['-DLLVM_ENABLE_LTO=Off']
cmake_cmd += ['-DLLVM_BUILD_EXAMPLES=On']
More information about the llvm-commits
mailing list