Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
745336dd6d
13 changed files with 364 additions and 178 deletions
16
sys/build.rs
16
sys/build.rs
|
|
@ -253,6 +253,22 @@ fn main() {
|
|||
println!("cargo:rustc-link-search=native={}", destination.display());
|
||||
println!("cargo:rustc-link-lib=static=whisper");
|
||||
println!("cargo:rustc-link-lib=static=ggml");
|
||||
println!("cargo:rustc-link-lib=static=ggml-base");
|
||||
println!("cargo:rustc-link-lib=static=ggml-cpu");
|
||||
if cfg!(target_os = "macos") {
|
||||
println!("cargo:rustc-link-lib=static=ggml-blas");
|
||||
}
|
||||
if cfg!(feature = "vulkan") {
|
||||
println!("cargo:rustc-link-lib=static=ggml-vulkan");
|
||||
}
|
||||
|
||||
if cfg!(feature = "metal") {
|
||||
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={}",
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 0377596b77a3602e36430320cbe45f8c305ef04a
|
||||
Subproject commit 8a9ad7844d6e2a10cddf4b92de4089d7ac2b14a9
|
||||
Loading…
Add table
Add a link
Reference in a new issue