diff --git a/README.md b/README.md index fb16a90..913c434 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,8 @@ All disabled by default unless otherwise specified. * `openblas`: enable OpenBLAS support. * `metal`: enable Metal support. Implicitly enables hidden GPU flag at runtime. * `vulkan`: enable Vulkan support. Implicitly enables hidden GPU flag at runtime. -* `whisper-cpp-log`: allows hooking into whisper.cpp's log output and sending it to the `log` backend. Requires calling -* `whisper-cpp-tracing`: allows hooking into whisper.cpp's log output and sending it to the `tracing` backend. +* `log_backend`: allows hooking into whisper.cpp's log output and sending it to the `log` backend. Requires calling +* `tracing_backend`: allows hooking into whisper.cpp's log output and sending it to the `tracing` backend. ## Building diff --git a/sys/build.rs b/sys/build.rs index bd3b0da..5db8a88 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -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)