[compiler-rt] r255046 - [CMake] Adding simulator supported runtimes should be done in the block that tests simulator capabilities.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 11:31:33 PST 2015


Author: cbieneman
Date: Tue Dec  8 13:31:33 2015
New Revision: 255046

URL: http://llvm.org/viewvc/llvm-project?rev=255046&view=rev
Log:
[CMake] Adding simulator supported runtimes should be done in the block that tests simulator capabilities.

Not sure why I put this in the iOS block originally, it shouldn't be there.

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=255046&r1=255045&r2=255046&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Tue Dec  8 13:31:33 2015
@@ -398,6 +398,8 @@ if(APPLE)
       message(STATUS "iOS Simulator supported arches: ${DARWIN_iossim_ARCHS}")
       if(DARWIN_iossim_ARCHS)
         list(APPEND SANITIZER_COMMON_SUPPORTED_OS iossim)
+        list(APPEND BUILTIN_SUPPORTED_OS iossim)
+        list(APPEND PROFILE_SUPPORTED_OS iossim)
       endif()
       foreach(arch ${DARWIN_iossim_ARCHS})
         list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch})
@@ -426,8 +428,6 @@ if(APPLE)
         list(APPEND SANITIZER_COMMON_SUPPORTED_OS ios)
         list(APPEND BUILTIN_SUPPORTED_OS ios)
         list(APPEND PROFILE_SUPPORTED_OS ios)
-        list(APPEND BUILTIN_SUPPORTED_OS iossim)
-        list(APPEND PROFILE_SUPPORTED_OS iossim)
       endif()
       foreach(arch ${DARWIN_ios_ARCHS})
         list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch})




More information about the llvm-commits mailing list