Skip to content

Commit 94cab7f

Browse files
authored
Merge pull request #3964 from lplarson/dont-adhoc-sign-benchmark-stdlibs
2 parents 86741b9 + c60add3 commit 94cab7f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ function (swift_benchmark_compile_archopts)
315315
DEPENDS
316316
${bench_library_objects} ${SWIFT_BENCH_OBJFILES}
317317
"${objcfile}"
318-
"adhoc-sign-swift-stdlib-${BENCH_COMPILE_ARCHOPTS_PLATFORM}"
319318
COMMAND
320319
"${CLANG_EXEC}"
321320
"-fno-stack-protector"
@@ -356,19 +355,6 @@ function(swift_benchmark_compile)
356355
endforeach()
357356
endif()
358357

359-
add_custom_target("copy-swift-stdlib-${SWIFT_BENCHMARK_COMPILE_PLATFORM}"
360-
DEPENDS ${stdlib_dependencies}
361-
COMMAND
362-
"${CMAKE_COMMAND}" "-E" "copy_directory"
363-
"${SWIFT_LIBRARY_PATH}/${SWIFT_BENCHMARK_COMPILE_PLATFORM}"
364-
"${benchmark-lib-swift-dir}/${SWIFT_BENCHMARK_COMPILE_PLATFORM}")
365-
366-
add_custom_target("adhoc-sign-swift-stdlib-${SWIFT_BENCHMARK_COMPILE_PLATFORM}"
367-
DEPENDS "copy-swift-stdlib-${SWIFT_BENCHMARK_COMPILE_PLATFORM}"
368-
COMMAND
369-
"codesign" "-f" "-s" "-"
370-
"${benchmark-lib-swift-dir}/${SWIFT_BENCHMARK_COMPILE_PLATFORM}/*.dylib" "2>/dev/null")
371-
372358
set(platform_executables)
373359
foreach(arch ${${SWIFT_BENCHMARK_COMPILE_PLATFORM}_arch})
374360
set(platform_executables)

0 commit comments

Comments
 (0)