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

Commit de30f9c

Browse files
authored
Merge pull request #219 from kaspar030/link-ggml-blas
fix: static link `ggml-blas` if openblas feature is enabled
2 parents ddbc796 + 8de132b commit de30f9c

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)