diff --git a/crates/llama-cpp-server/build.rs b/crates/llama-cpp-server/build.rs index 8161edc5f..35a4edbb8 100644 --- a/crates/llama-cpp-server/build.rs +++ b/crates/llama-cpp-server/build.rs @@ -10,9 +10,9 @@ fn main() { let mut config = Config::new("./llama.cpp"); config.profile("Release"); - config.define("LLAMA_NATIVE", "OFF"); + config.define("GGML_NATIVE", "OFF"); + config.define("GGML_NATIVE_DEFAULT", "OFF"); config.define("BUILD_SHARED_LIBS", "OFF"); - config.define("INS_ENB", "ON"); if cfg!(target_os = "macos") { config.define("LLAMA_METAL", "ON");