[PATCH] D25996: [compiler-rt] Remove duplicates from COMPILER_RT_SUPPORTED_ARCH
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 09:46:25 PDT 2016
kubabrecka created this revision.
kubabrecka added a reviewer: beanz.
kubabrecka added subscribers: llvm-commits, zaks.anna.
Herald added subscribers: mgorny, dberris.
Since we’re adding an entry into COMPILER_RT_SUPPORTED_ARCH for all architectures of all Darwin platforms, COMPILER_RT_SUPPORTED_ARCH often ends up having duplicate items. Let’s remove them.
https://reviews.llvm.org/D25996
Files:
cmake/config-ix.cmake
Index: cmake/config-ix.cmake
===================================================================
--- cmake/config-ix.cmake
+++ cmake/config-ix.cmake
@@ -402,6 +402,7 @@
find_program(GOLD_EXECUTABLE NAMES ${LLVM_DEFAULT_TARGET_TRIPLE}-ld.gold ld.gold ${LLVM_DEFAULT_TARGET_TRIPLE}-ld ld DOC "The gold linker")
+list(REMOVE_DUPLICATES COMPILER_RT_SUPPORTED_ARCH)
message(STATUS "Compiler-RT supported architectures: ${COMPILER_RT_SUPPORTED_ARCH}")
if(ANDROID)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25996.75909.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161026/eee4fb67/attachment.bin>
More information about the llvm-commits
mailing list