[compiler-rt] r288681 - [compiler-rt] Remove duplicates from COMPILER_RT_SUPPORTED_ARCH

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 09:52:45 PST 2016


Author: kuba.brecka
Date: Mon Dec  5 11:52:45 2016
New Revision: 288681

URL: http://llvm.org/viewvc/llvm-project?rev=288681&view=rev
Log:
[compiler-rt] Remove duplicates from COMPILER_RT_SUPPORTED_ARCH

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.

Differential Revision: https://reviews.llvm.org/D25996


Modified:
    compiler-rt/trunk/cmake/config-ix.cmake

Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=288681&r1=288680&r2=288681&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Mon Dec  5 11:52:45 2016
@@ -424,6 +424,7 @@ endif()
 
 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)




More information about the llvm-commits mailing list