[PATCH] D122109: [CMake][Clang] Skip host link version detection for lld on Darwin
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 18:33:04 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc624cc252738: [CMake][Clang] Skip host link version detection for lld on Darwin (authored by phosek).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122109/new/
https://reviews.llvm.org/D122109
Files:
clang/CMakeLists.txt
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -403,7 +403,7 @@
# Determine HOST_LINK_VERSION on Darwin.
set(HOST_LINK_VERSION)
-if (APPLE)
+if (APPLE AND NOT CMAKE_LINKER MATCHES ".*lld.*")
set(LD_V_OUTPUT)
execute_process(
COMMAND sh -c "${CMAKE_LINKER} -v 2>&1 | head -1"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122109.417151.patch
Type: text/x-patch
Size: 392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220322/51258c90/attachment.bin>
More information about the cfe-commits
mailing list