fix: static link ggml-blas if openblas feature is enabled
This commit is contained in:
parent
ddbc7961c5
commit
8de132b23e
1 changed files with 4 additions and 0 deletions
|
|
@ -280,6 +280,10 @@ fn main() {
|
||||||
println!("cargo:rustc-link-lib=static=ggml-cuda");
|
println!("cargo:rustc-link-lib=static=ggml-cuda");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if cfg!(feature = "openblas") {
|
||||||
|
println!("cargo:rustc-link-lib=static=ggml-blas");
|
||||||
|
}
|
||||||
|
|
||||||
println!(
|
println!(
|
||||||
"cargo:WHISPER_CPP_VERSION={}",
|
"cargo:WHISPER_CPP_VERSION={}",
|
||||||
get_whisper_cpp_version(&whisper_root)
|
get_whisper_cpp_version(&whisper_root)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue