File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ is_avx512_disabled(AVX512_DISABLED)
88
88
89
89
if (MACOSX_FOUND AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64" )
90
90
message (STATUS "Apple Silicon Detected" )
91
+ set (APPLE_SILICON_FOUND TRUE )
91
92
set (ENABLE_NUMA OFF )
92
93
check_sysctl(hw.optional .neon ASIMD_FOUND)
93
94
check_sysctl(hw.optional .arm.FEAT_BF16 ARM_BF16_FOUND)
@@ -189,7 +190,7 @@ else()
189
190
set (USE_ACL OFF )
190
191
endif ()
191
192
192
- if ((AVX512_FOUND AND NOT AVX512_DISABLED) OR ASIMD_FOUND OR POWER9_FOUND OR POWER10_FOUND OR POWER11_FOUND)
193
+ if ((AVX512_FOUND AND NOT AVX512_DISABLED) OR ( ASIMD_FOUND AND NOT APPLE_SILICON_FOUND) OR POWER9_FOUND OR POWER10_FOUND OR POWER11_FOUND)
193
194
FetchContent_Declare(
194
195
oneDNN
195
196
GIT_REPOSITORY https://github.com/oneapi-src/oneDNN.git
You can’t perform that action at this time.
0 commit comments