mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-02 14:57:43 +03:00
10 lines
227 B
Rust
Vendored
10 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(())
|
|
}
|