[zorg] r276767 - [GreenDragon] Setup DYLD_LIBRARY_PATH for 'clang' mode
Bruno Cardoso Lopes via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 09:52:44 PDT 2016
Author: bruno
Date: Tue Jul 26 11:52:44 2016
New Revision: 276767
URL: http://llvm.org/viewvc/llvm-project?rev=276767&view=rev
Log:
[GreenDragon] Setup DYLD_LIBRARY_PATH for 'clang' mode
Follow-up from r276722: thread the DYLD_LIBRARY_PATH to cmake
in 'clang' mode from build.py
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=276767&r1=276766&r2=276767&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Tue Jul 26 11:52:44 2016
@@ -295,6 +295,7 @@ def clang_builder(target):
'/Toolchains/XcodeDefault.xctoolchain'
env = []
+ dyld_path = ""
if conf.lto and conf.liblto():
dyld_path = conf.liblto()
env.extend(["env", "DYLD_LIBRARY_PATH=" + dyld_path])
@@ -333,6 +334,9 @@ def clang_builder(target):
'-DCMAKE_MACOSX_RPATH=On',
]
+ if dyld_path:
+ cmake_command += ['-DDYLD_LIBRARY_PATH=' + dyld_path]
+
if libtool_path:
cmake_command += ['-DCMAKE_LIBTOOL=' + libtool_path]
More information about the llvm-commits
mailing list