File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ endfunction()
60
60
61
61
62
62
function (check_sysctl TARGET OUT )
63
- execute_process (COMMAND sysctl -n ${TARGET}
63
+ execute_process (COMMAND sysctl -n " ${TARGET} "
64
64
RESULT_VARIABLE SYSCTL_RET
65
65
OUTPUT_VARIABLE SYSCTL_INFO
66
66
ERROR_QUIET
@@ -87,7 +87,6 @@ is_avx512_disabled(AVX512_DISABLED)
87
87
88
88
if (MACOSX_FOUND AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64" )
89
89
message (STATUS "Apple Silicon Detected" )
90
- set (APPLE_SILICON_FOUND TRUE )
91
90
set (ENABLE_NUMA OFF )
92
91
check_sysctl (hw.optional.neon ASIMD_FOUND )
93
92
check_sysctl (hw.optional.arm.FEAT_BF16 ARM_BF16_FOUND )
@@ -102,7 +101,6 @@ else()
102
101
find_isa (${CPUINFO} "S390" S390_FOUND )
103
102
endif ()
104
103
105
-
106
104
if (AVX512_FOUND AND NOT AVX512_DISABLED )
107
105
list (APPEND CXX_COMPILE_FLAGS
108
106
"-mavx512f"
You can’t perform that action at this time.
0 commit comments