[PATCH] D61346: [CMake] Do not use libtool on Apple platforms when building LLVM with (full) LTO.
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 17:13:24 PDT 2019
steven_wu added a comment.
If you use cmake variable `CLANG_ENABLE_BOOTSTRAP`, it should take care of DYLD_LIBRARY_PATH so libtool is using the just built libLTO to create static library. The setup of the DYLD_LIBRARY_PATH is just below.
================
Comment at: llvm/CMakeLists.txt:97
# If DYLD_LIBRARY_PATH is set we need to set it on archiver commands
if(DYLD_LIBRARY_PATH)
set(dyld_envar "DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}")
----------------
This sets up DYLD_LIBRARY_PATH
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61346/new/
https://reviews.llvm.org/D61346
More information about the llvm-commits
mailing list