mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-27 16:29:19 +01:00
make : add i686 arch (close #329)
This commit is contained in:
parent
4e0b2069e7
commit
9a8ad3db69
2
Makefile
2
Makefile
@ -53,7 +53,7 @@ endif
|
|||||||
# Architecture specific
|
# Architecture specific
|
||||||
# TODO: probably these flags need to be tweaked on some architectures
|
# 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
|
# 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)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
CFLAGS += -mfma -mf16c
|
CFLAGS += -mfma -mf16c
|
||||||
AVX1_M := $(shell sysctl machdep.cpu.features)
|
AVX1_M := $(shell sysctl machdep.cpu.features)
|
||||||
|
Loading…
Reference in New Issue
Block a user