summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJag Chadha <jagtesh@gmail.com>2023-09-27 11:34:32 -0400
committerGitHub <noreply@github.com>2023-09-27 18:34:32 +0300
commit527e57cfd8a9a26bf622c0510c21c2508a24be26 (patch)
treece3a8c3e8db22b8ada94f5bb7a197b7adfad3d43 /Makefile
parentffe88a36a913e5792aa383f0726bdbcf632e7191 (diff)
build : add ACCELERATE_NEW_LAPACK to fix warning on macOS Sonoma (#3342)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e07db8af..f170f229 100644
--- a/Makefile
+++ b/Makefile
@@ -305,6 +305,8 @@ ifndef LLAMA_NO_ACCELERATE
# `-framework Accelerate` works both with Apple Silicon and Mac Intel
ifeq ($(UNAME_S),Darwin)
MK_CPPFLAGS += -DGGML_USE_ACCELERATE
+ MK_CPPFLAGS += -DACCELERATE_NEW_LAPACK
+ MK_CPPFLAGS += -DACCELERATE_LAPACK_ILP64
MK_LDFLAGS += -framework Accelerate
endif
endif # LLAMA_NO_ACCELERATE