ZLUDA/ext/rocblas-sys/build.rs
Violet d81404eb70
Some checks are pending
ZLUDA / Build (Linux) (push) Waiting to run
ZLUDA / Build (Windows) (push) Waiting to run
ZLUDA / Build AMD GPU unit tests (push) Waiting to run
ZLUDA / Run AMD GPU unit tests (push) Blocked by required conditions
Add support for rocblas to zluda_bindgen (#440)
One step of several for adding cublas support
2025-07-28 15:07:22 -07:00

9 lines
227 B
Rust
Vendored

use std::env::VarError;
fn main() -> Result<(), VarError> {
if !cfg!(windows) {
println!("cargo:rustc-link-lib=dylib=rocblas");
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
}
Ok(())
}