fix(build): disable GGML_NATIVE explicitly (#3118)

This commit is contained in:
Meng Zhang 2024-09-10 13:51:38 -07:00
parent c82982788c
commit 1ef94ce6c8

View File

@ -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");