]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
make : add i686 arch (close #329)
authorGeorgi Gerganov <redacted>
Thu, 29 Dec 2022 11:58:27 +0000 (13:58 +0200)
committerGeorgi Gerganov <redacted>
Thu, 29 Dec 2022 11:58:55 +0000 (13:58 +0200)
Makefile

index 0a057a4bc834b6a0b55d73818ab5d3be2c3db553..f712936c3bb6dd602ffbc3a57ac3a8fc88cafa64 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ endif
 # Architecture specific
 # TODO: probably these flags need to be tweaked on some architectures
 #       feel free to update the Makefile for your architecture and send a pull request or issue
-ifeq ($(UNAME_M),x86_64)
+ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
        ifeq ($(UNAME_S),Darwin)
                CFLAGS += -mfma -mf16c
                AVX1_M := $(shell sysctl machdep.cpu.features)