[PATCH] D142610: [CMake] Support undefined LLVM_NATIVE_ARCH in llvm_map_components_to_libnames().
Ivan Kosarev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 26 11:37:46 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2e3153059c26: [CMake] Support undefined LLVM_NATIVE_ARCH in llvm_map_components_to_libnames(). (authored by kosarev).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142610/new/
https://reviews.llvm.org/D142610
Files:
llvm/cmake/modules/LLVM-Config.cmake
Index: llvm/cmake/modules/LLVM-Config.cmake
===================================================================
--- llvm/cmake/modules/LLVM-Config.cmake
+++ llvm/cmake/modules/LLVM-Config.cmake
@@ -236,7 +236,7 @@
list(APPEND link_components "interpreter")
endif()
endif()
- if(native IN_LIST link_components AND ${LLVM_NATIVE_ARCH} IN_LIST LLVM_TARGETS_TO_BUILD)
+ if(native IN_LIST link_components AND "${LLVM_NATIVE_ARCH}" IN_LIST LLVM_TARGETS_TO_BUILD)
list(APPEND link_components ${LLVM_NATIVE_ARCH})
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142610.492533.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230126/cf627093/attachment.bin>
More information about the llvm-commits
mailing list