From 62430ace9a909ef67bee02fec37fe4f70aff7729 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Wed, 3 Jul 2024 21:47:40 +0900 Subject: [PATCH] ci: fix llama-server build by setting BUILD_SHARED_LIBS=OFF --- crates/llama-cpp-server/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/llama-cpp-server/build.rs b/crates/llama-cpp-server/build.rs index 12e422e84d1b..0b2cf3e63b13 100644 --- a/crates/llama-cpp-server/build.rs +++ b/crates/llama-cpp-server/build.rs @@ -11,6 +11,7 @@ fn main() { let mut config = Config::new("./llama.cpp"); config.profile("Release"); config.define("LLAMA_NATIVE", "OFF"); + config.define("BUILD_SHARED_LIBS", "OFF"); config.define("INS_ENB", "ON"); if cfg!(target_os = "macos") {