diff options
Diffstat (limited to 'hipblaslt-sys/build.rs')
-rw-r--r-- | hipblaslt-sys/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hipblaslt-sys/build.rs b/hipblaslt-sys/build.rs new file mode 100644 index 0000000..6045f68 --- /dev/null +++ b/hipblaslt-sys/build.rs @@ -0,0 +1,7 @@ +use std::env::VarError; + +fn main() -> Result<(), VarError> { + println!("cargo:rustc-link-lib=dylib=hipblaslt"); + println!("cargo:rustc-link-search=native=/opt/rocm/lib/"); + Ok(()) +} |