Merge pull request #219 from kaspar030/link-ggml-blas
fix: static link `ggml-blas` if openblas feature is enabled
This commit is contained in:
commit
de30f9c23d
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