From 7211862c943273fc8ce4b7fdf4c04f9821b7b591 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 11 Mar 2023 12:26:16 +0200 Subject: Update Makefile var + add comment --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 862d02b..8388c29 100644 --- a/Makefile +++ b/Makefile @@ -125,18 +125,18 @@ ifneq ($(filter ppc64%,$(UNAME_M)),) CXXFLAGS += -std=c++23 -DGGML_BIG_ENDIAN endif endif -ifndef WHISPER_NO_ACCELERATE +ifndef LLAMA_NO_ACCELERATE # Mac M1 - include Accelerate framework ifeq ($(UNAME_S),Darwin) CFLAGS += -DGGML_USE_ACCELERATE LDFLAGS += -framework Accelerate endif endif -ifdef WHISPER_OPENBLAS +ifdef LLAMA_OPENBLAS CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas LDFLAGS += -lopenblas endif -ifdef WHISPER_GPROF +ifdef LLAMA_GPROF CFLAGS += -pg CXXFLAGS += -pg endif -- cgit v1.2.3