mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 00:12:08 +00:00
feat(backend): correctly link to all libraries
This commit is contained in:
parent
59b0ef3018
commit
f5c4cee364
@ -115,6 +115,9 @@ fn main() {
|
||||
let spdlog_linkage_target = if is_debug { "spdlogd" } else { "spdlog" };
|
||||
println!("cargo:rustc-link-lib=dylib={spdlog_linkage_target}");
|
||||
println!("cargo:rustc-link-lib=dylib=ggml");
|
||||
println!("cargo:rustc-link-lib=dylib=ggml-base");
|
||||
println!("cargo:rustc-link-lib=dylib=ggml-cpu");
|
||||
println!("cargo:rustc-link-lib=dylib=ggml-amx");
|
||||
println!("cargo:rustc-link-lib=dylib=llama");
|
||||
|
||||
// Rerun if one of these file change
|
||||
|
Loading…
Reference in New Issue
Block a user