diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2021-04-15 16:25:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 16:25:17 +0200 |
commit | 978fa19ae2541c98e7ca34b5e882149a1cc9d275 (patch) | |
tree | 390a8c077321f3a8e31faa61796884ac666f6210 /pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch | |
parent | f21304cfa5913a9e117c4a531fd05f55e19564b3 (diff) | |
parent | 781e69d19c45c9acb1c3dc4b5bd2f981b78895cf (diff) |
Merge pull request #119528 from sternenseemann/llvmPackages_12-reorganize-files
llvmPackages_12: reorganize files
Diffstat (limited to 'pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch')
-rw-r--r-- | pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch b/pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch new file mode 100644 index 0000000000000..3cc12b94b2005 --- /dev/null +++ b/pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch @@ -0,0 +1,33 @@ +From 3dec5f3475a26aeb4678627795c4b67c6b7b4785 Mon Sep 17 00:00:00 2001 +From: Will Dietz <w@wdtz.org> +Date: Tue, 19 Sep 2017 13:13:06 -0500 +Subject: [PATCH] remove codesign use on Apple, disable ios sim testing that + needs it + +--- + cmake/Modules/AddCompilerRT.cmake | 8 ------ + test/asan/CMakeLists.txt | 52 --------------------------------------- + test/tsan/CMakeLists.txt | 47 ----------------------------------- + 3 files changed, 107 deletions(-) + +diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake +index bc5fb9ff7..b64eb4246 100644 +--- a/cmake/Modules/AddCompilerRT.cmake ++++ b/cmake/Modules/AddCompilerRT.cmake +@@ -210,14 +210,6 @@ function(add_compiler_rt_runtime name type) + set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "") + set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib") + endif() +- if(APPLE) +- # Ad-hoc sign the dylibs +- add_custom_command(TARGET ${libname} +- POST_BUILD +- COMMAND codesign --sign - $<TARGET_FILE:${libname}> +- WORKING_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR} +- ) +- endif() + endif() + install(TARGETS ${libname} + ARCHIVE DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR} +2.14.1 + |