From 4604ece66bccc0b6dc6bd6c7145403ac543fa120 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Tue, 8 Dec 2015 19:31:33 +0000 Subject: [PATCH] [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. llvm-svn: 255046 --- compiler-rt/cmake/config-ix.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake index f3a4d583..50e59c79 100644 --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/cmake/config-ix.cmake @@ -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}) -- 2.7.4