Skip to content

Commit 1cb7b90

Browse files
authored
Conditional compilation of assembly files that IOS does not like
1 parent a4bd41e commit 1cb7b90

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kernel/arm64/KERNEL.ARMV8

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ CDOTKERNEL = zdot.S
5151
ZDOTKERNEL = zdot.S
5252
DSDOTKERNEL = dot.S
5353

54+
ifneq ($(OS_DARWIN)$(CROSS),11)
5455
SNRM2KERNEL = nrm2.S
5556
DNRM2KERNEL = nrm2.S
5657
CNRM2KERNEL = znrm2.S
5758
ZNRM2KERNEL = znrm2.S
59+
endif
5860

5961
SROTKERNEL = rot.S
6062
DROTKERNEL = rot.S
@@ -86,7 +88,11 @@ DTRMMKERNEL = ../generic/trmmkernel_2x2.c
8688
CTRMMKERNEL = ../generic/ztrmmkernel_2x2.c
8789
ZTRMMKERNEL = ../generic/ztrmmkernel_2x2.c
8890

91+
ifneq ($(OS_DARWIN)$(CROSS),11)
8992
SGEMMKERNEL = sgemm_kernel_4x4.S
93+
else
94+
SGEMMKERNEL = ../generic/gemmkernel_2x2.c
95+
endif
9096
SGEMMONCOPY = ../generic/gemm_ncopy_4.c
9197
SGEMMOTCOPY = ../generic/gemm_tcopy_4.c
9298
SGEMMONCOPYOBJ = sgemm_oncopy.o

0 commit comments

Comments
 (0)