From: Georgi Gerganov Date: Thu, 29 Dec 2022 11:58:27 +0000 (+0200) Subject: make : add i686 arch (close #329) X-Git-Tag: upstream/1.7.4~1671 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9a8ad3db697c628a87380d637f5eb0f72739a838;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp make : add i686 arch (close #329) --- diff --git a/Makefile b/Makefile index 0a057a4b..f712936c 100644 --- 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)