ggerganov commited on
Commit
86b56ca
·
unverified ·
1 Parent(s): 7b501c1

make : add i686 arch (close #329)

Browse files
Files changed (1) hide show
  1. Makefile +1 -1
Makefile CHANGED
@@ -53,7 +53,7 @@ endif
53
  # Architecture specific
54
  # TODO: probably these flags need to be tweaked on some architectures
55
  # feel free to update the Makefile for your architecture and send a pull request or issue
56
- ifeq ($(UNAME_M),x86_64)
57
  ifeq ($(UNAME_S),Darwin)
58
  CFLAGS += -mfma -mf16c
59
  AVX1_M := $(shell sysctl machdep.cpu.features)
 
53
  # Architecture specific
54
  # TODO: probably these flags need to be tweaked on some architectures
55
  # feel free to update the Makefile for your architecture and send a pull request or issue
56
+ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
57
  ifeq ($(UNAME_S),Darwin)
58
  CFLAGS += -mfma -mf16c
59
  AVX1_M := $(shell sysctl machdep.cpu.features)