File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ DETECT_LIBS?=true
88# llama.cpp versions
99GOLLAMA_REPO? =https://github.com/go-skynet/go-llama.cpp
1010GOLLAMA_VERSION? =2b57a8ae43e4699d3dc5d1496a1ccd42922993be
11- CPPLLAMA_VERSION? =db4cfd5dbc31c90f0d5c413a2e182d068b8ee308
11+ CPPLLAMA_VERSION? =ce2e59ba107cf71ed566040ff20a15d1c58e09c2
1212
1313# go-rwkv version
1414RWKV_REPO? =https://github.com/donomii/go-rwkv.cpp
@@ -45,6 +45,7 @@ CGO_LDFLAGS_WHISPER+=-lggml
4545CUDA_LIBPATH? =/usr/local/cuda/lib64/
4646GO_TAGS? =
4747BUILD_ID? =
48+ NATIVE? =false
4849
4950TEST_DIR =/tmp/test
5051
@@ -83,6 +84,11 @@ ifndef UNAME_S
8384UNAME_S := $(shell uname -s)
8485endif
8586
87+ # IF native is false, we add -DGGML_NATIVE=OFF to CMAKE_ARGS
88+ ifeq ($(NATIVE ) ,false)
89+ CMAKE_ARGS+=-DGGML_NATIVE=OFF
90+ endif
91+
8692ifeq ($(OS ) ,Darwin)
8793
8894 ifeq ($(OSX_SIGNING_IDENTITY),)
You can’t perform that action at this time.
0 commit comments