Merge branch 'update-whisper.cpp-7fd8d9' into dev

This commit is contained in:
thewh1teagle 2024-11-27 18:53:44 +02:00
commit bb80bddc7c
No known key found for this signature in database

View file

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