[PATCH] D62769: [CMake] Use libtool for runtimes when building for Apple platform

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 23:33:44 PDT 2019


phosek created this revision.
phosek added reviewers: beanz, smeenai.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.

LLVM CMake build already uses libtool instead of ar when building
for Apple platform and we should be using the same when building
runtimes. To do so, this change extracts the logic for finding
libtool into a separate file and then uses it from both the LLVM
build as well as the LLVM runtimes build.


Repository:
  rL LLVM

https://reviews.llvm.org/D62769

Files:
  llvm/CMakeLists.txt
  llvm/cmake/modules/UseLibtool.cmake
  llvm/runtimes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62769.202536.patch
Type: text/x-patch
Size: 5365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190601/e74d54c9/attachment.bin>


More information about the llvm-commits mailing list