Skip to content

Commit

Permalink
ci: fix llama-server build by setting BUILD_SHARED_LIBS=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Jul 3, 2024
1 parent a480375 commit 62430ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/llama-cpp-server/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 62430ac

Please sign in to comment.