pantry/projects/github.com/ggerganov/whisper.cpp/illegal_instruction.patch
Sanchit Ram Arvind ea39f209ca
+whisper.cpp (#1276)
Co-authored-by: Max Howell <mxcl@me.com>
2023-05-04 17:49:17 -03:00

13 lines
423 B
Diff

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