[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
Thu May 2 08:20:41 PDT 2019
steven_wu added a comment.
When you are manually configuring the bootstrap, I still don't think trying to bypass libtool is the correct fix because you still need to specify the correct llvm-ar to use. The default CMAKE_AR inferred by cmake will not work. Maybe it is an option to add the control to force llvm-ar if wished, then you have two options when you manually configuring bootstrap:
- DYLD_LIBRARY_PATH points to libLTO.dylib directory
- CMAKE_AR points to just built llvm-ar and set the variable to force llvm-ar
I don't think the second one is easier than the first one.
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