Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 8de132b

Browse files
committed
fix: static link ggml-blas if openblas feature is enabled
1 parent ddbc796 commit 8de132b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sys/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ fn main() {
280280
println!("cargo:rustc-link-lib=static=ggml-cuda");
281281
}
282282

283+
if cfg!(feature = "openblas") {
284+
println!("cargo:rustc-link-lib=static=ggml-blas");
285+
}
286+
283287
println!(
284288
"cargo:WHISPER_CPP_VERSION={}",
285289
get_whisper_cpp_version(&whisper_root)

0 commit comments

Comments
 (0)