[compiler-rt] r249056 - [CMake] Only build the simulator builtins if you're also building the device builtins.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 12:26:26 PDT 2015


Author: cbieneman
Date: Thu Oct  1 14:26:26 2015
New Revision: 249056

URL: http://llvm.org/viewvc/llvm-project?rev=249056&view=rev
Log:
[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.

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=249056&r1=249055&r2=249056&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Thu Oct  1 14:26:26 2015
@@ -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})




More information about the llvm-commits mailing list