mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-07-11 09:15:22 +02:00
Fix Makefile for MacBook Intel
This commit is contained in:
7
Makefile
7
Makefile
@ -24,13 +24,14 @@ ifeq ($(UNAME_S),Darwin)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Architecture specific
|
# Architecture specific
|
||||||
ifeq ($(UNAME_P),x86_64)
|
# TODO: probably these flags need to be tweaked on some architectures
|
||||||
|
ifeq ($(UNAME_M),x86_64)
|
||||||
CFLAGS += -mavx -mavx2 -mfma -mf16c
|
CFLAGS += -mavx -mavx2 -mfma -mf16c
|
||||||
endif
|
endif
|
||||||
ifneq ($(filter arm%,$(UNAME_P)),)
|
ifneq ($(filter arm%,$(UNAME_M)),)
|
||||||
# Mac M1
|
# Mac M1
|
||||||
endif
|
endif
|
||||||
ifneq ($(filter aarch64%,$(UNAME_P)),)
|
ifneq ($(filter aarch64%,$(UNAME_M)),)
|
||||||
endif
|
endif
|
||||||
ifneq ($(filter armv6%,$(UNAME_M)),)
|
ifneq ($(filter armv6%,$(UNAME_M)),)
|
||||||
# Raspberry Pi 1, 2, 3
|
# Raspberry Pi 1, 2, 3
|
||||||
|
Reference in New Issue
Block a user