1From 3dec5f3475a26aeb4678627795c4b67c6b7b4785 Mon Sep 17 00:00:00 2001
2From: Will Dietz <w@wdtz.org>
3Date: Tue, 19 Sep 2017 13:13:06 -0500
4Subject: [PATCH] remove codesign use on Apple, disable ios sim testing that
5 needs it
6
7---
8 cmake/Modules/AddCompilerRT.cmake | 8 ------
9 test/asan/CMakeLists.txt | 52 ---------------------------------------
10 test/tsan/CMakeLists.txt | 47 -----------------------------------
11 3 files changed, 107 deletions(-)
12
13diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake
14index bc5fb9ff7..b64eb4246 100644
15--- a/cmake/Modules/AddCompilerRT.cmake
16+++ b/cmake/Modules/AddCompilerRT.cmake
17@@ -210,14 +210,6 @@ function(add_compiler_rt_runtime name type)
18 set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
19 set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")
20 endif()
21- if(APPLE)
22- # Ad-hoc sign the dylibs
23- add_custom_command(TARGET ${libname}
24- POST_BUILD
25- COMMAND codesign --sign - $<TARGET_FILE:${libname}>
26- WORKING_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}
27- )
28- endif()
29 endif()
30 install(TARGETS ${libname}
31 ARCHIVE DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR}
322.14.1
33