aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-03-11 12:26:16 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-03-11 12:27:02 +0200
commit7211862c943273fc8ce4b7fdf4c04f9821b7b591 (patch)
tree66eae937f100350b51e1cdc84e9f2942a7c7b2fb /Makefile
parenta5c5ae2f545d0d3338f5b2a7840457e35d5bccc1 (diff)
Update Makefile var + add comment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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