From 9a8ad3db697c628a87380d637f5eb0f72739a838 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 29 Dec 2022 13:58:27 +0200 Subject: [PATCH] make : add i686 arch (close #329) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)