Merge pull request #219 from kaspar030/link-ggml-blas

fix: static link `ggml-blas` if openblas feature is enabled
This commit is contained in:
Niko 2025-04-24 20:58:53 -06:00 committed by GitHub
commit de30f9c23d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -280,6 +280,10 @@ fn main() {
println!("cargo:rustc-link-lib=static=ggml-cuda");
}
if cfg!(feature = "openblas") {
println!("cargo:rustc-link-lib=static=ggml-blas");
}
println!(
"cargo:WHISPER_CPP_VERSION={}",
get_whisper_cpp_version(&whisper_root)