Skip to content

Commit 06cbdb6

Browse files
committed
Commented out Apple M1 march
1 parent 8836c76 commit 06cbdb6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

X/XNNPACK/build_tarballs.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ elif [[ $bb_full_target == aarch64-*march+armv8* ]]; then
4343
C_FLAGS+="-DXNN_NO_F16_OPERATORS "
4444
C_FLAGS+="-DXNN_NO_F32_OPERATORS "
4545
C_FLAGS+="-DXNN_NO_QS8_OPERATORS "
46-
elif [[ $bb_full_target == aarch64-apple-*march+apple_m1* ]]; then
47-
atomic_patch -p1 ../patches/xnnpack-aarch64-exclude-microkernel-srcs.patch
48-
C_FLAGS+="-DXNN_NO_F16_OPERATORS "
46+
# elif [[ $bb_full_target == aarch64-apple-*march+apple_m1* ]]; then # This should work when Yggdrasil is on Julia 1.8
47+
# atomic_patch -p1 ../patches/xnnpack-aarch64-exclude-microkernel-srcs.patch
48+
# C_FLAGS+="-DXNN_NO_F16_OPERATORS "
4949
fi
5050
mkdir build
5151
cd build
@@ -74,8 +74,8 @@ platforms = supported_platforms()
7474
filter!(p -> arch(p) != "armv6l", platforms) # armv6l is unsupported by XNNPACK (lacks NEON instructions)
7575
filter!(p -> arch(p) != "powerpc64le", platforms) # PowerPC64LE is unsupported by XNNPACK (Unsupported architecture in src/init.c)
7676
platforms = expand_microarchitectures(platforms, [
77-
"armv8_0", "armv8_1", "armv8_2_crypto", "apple_m1", # aarch64
78-
"neonvfpv4", # armv7l
77+
"armv8_0", "armv8_1", "armv8_2_crypto", # "apple_m1",
78+
"neonvfpv4",
7979
])
8080

8181
# The products that we will ensure are always built

0 commit comments

Comments
 (0)