File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ macro(configure_build)
105
105
endmacro ()
106
106
107
107
macro (configure_sdks_darwin)
108
- set (macosx_arch "x86_64" )
108
+ set (macosx_arch "x86_64" "arm64" )
109
109
set (iphoneos_arch "arm64" "arm64e" "armv7" )
110
110
set (appletvos_arch "arm64" )
111
111
set (watchos_arch "armv7k" )
@@ -609,11 +609,7 @@ function (swift_benchmark_compile_archopts)
609
609
610
610
if (is_darwin)
611
611
# If host == target.
612
- if ("${BENCH_COMPILE_ARCHOPTS_PLATFORM} " STREQUAL "macosx" )
613
- set (OUTPUT_EXEC "${benchmark-bin-dir}/Benchmark_${BENCH_COMPILE_ARCHOPTS_OPT} " )
614
- else ()
615
- set (OUTPUT_EXEC "${benchmark-bin-dir}/Benchmark_${BENCH_COMPILE_ARCHOPTS_OPT} -${target} " )
616
- endif ()
612
+ set (OUTPUT_EXEC "${benchmark-bin-dir}/Benchmark_${BENCH_COMPILE_ARCHOPTS_OPT} -${target} " )
617
613
else ()
618
614
# If we are on Linux, we do not support cross compiling.
619
615
set (OUTPUT_EXEC "${benchmark-bin-dir}/Benchmark_${BENCH_COMPILE_ARCHOPTS_OPT} " )
You can’t perform that action at this time.
0 commit comments