Skip to content

Commit 9a9ae1f

Browse files
committed
Disable OPENSSL (just introduced upstream)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 33a34ec commit 9a9ae1f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

backend/cpp/llama-cpp/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ target_link_libraries(${TARGET} PRIVATE common llama mtmd ${CMAKE_THREAD_LIBS_IN
6666
absl::flags_parse
6767
gRPC::${_REFLECTION}
6868
gRPC::${_GRPC_GRPCPP}
69-
protobuf::${_PROTOBUF_LIBPROTOBUF}
70-
ssl crypto)
69+
protobuf::${_PROTOBUF_LIBPROTOBUF})
7170
target_compile_features(${TARGET} PRIVATE cxx_std_11)
7271
if(TARGET BUILD_INFO)
7372
add_dependencies(${TARGET} BUILD_INFO)

backend/cpp/llama-cpp/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
LLAMA_VERSION?=72b24d96c6888c609d562779a23787304ae4609c
2+
LLAMA_VERSION?=ace6a54565444b6377bee8e7ac693238e7766279
33
LLAMA_REPO?=https://github.com/ggerganov/llama.cpp
44

55
CMAKE_ARGS?=
@@ -14,7 +14,7 @@ CMAKE_ARGS+=-DBUILD_SHARED_LIBS=OFF -DLLAMA_CURL=OFF
1414

1515
CURRENT_MAKEFILE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
1616
ifeq ($(NATIVE),false)
17-
CMAKE_ARGS+=-DGGML_NATIVE=OFF
17+
CMAKE_ARGS+=-DGGML_NATIVE=OFF -DLLAMA_OPENSSL=OFF
1818
endif
1919
# If build type is cublas, then we set -DGGML_CUDA=ON to CMAKE_ARGS automatically
2020
ifeq ($(BUILD_TYPE),cublas)

0 commit comments

Comments
 (0)