pantry/projects/github.com/ggerganov/whisper.cpp/illegal_instruction.patch

13 lines
423 B
Diff
Raw Normal View History

diff --git a/Makefile b/Makefile
index c452b88..6bf34b3 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,6 @@ endif
# feel free to update the Makefile for your architecture and send a pull request or issue
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
ifeq ($(UNAME_S),Darwin)
- CFLAGS += -mf16c
AVX1_M := $(shell sysctl machdep.cpu.features)
ifneq (,$(findstring FMA,$(AVX1_M)))
CFLAGS += -mfma