forked from OSchip/llvm-project
[CMake] Only build the simulator builtins if you're also building the device builtins.
This matters because simulator builtins get lipo'd together with the device builtins into a single static archive per-platform. llvm-svn: 249056
This commit is contained in:
parent
af87713a81
commit
adfe26fdbd
|
@ -376,7 +376,6 @@ 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)
|
||||
endif()
|
||||
foreach(arch ${DARWIN_iossim_ARCHS})
|
||||
list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch})
|
||||
|
@ -405,6 +404,7 @@ 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)
|
||||
endif()
|
||||
foreach(arch ${DARWIN_ios_ARCHS})
|
||||
list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch})
|
||||
|
|
Loading…
Reference in New Issue