Merge pull request #201 from hyiip/master

link cuda when cuda feature is on
This commit is contained in:
Niko 2025-02-18 12:16:39 -07:00 committed by GitHub
commit 37cba931f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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