mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-28 21:47:57 +03:00
Explicitly fail compilation on ROCm 6.4 (#361)
AMD broke comgr ABI in 6.4. This is a temporary solution.
This commit is contained in:
parent
7cdab7abc2
commit
adc4673a20
2 changed files with 2 additions and 2 deletions
2
ext/amd_comgr-sys/build.rs
vendored
2
ext/amd_comgr-sys/build.rs
vendored
|
@ -13,7 +13,7 @@ fn main() -> Result<(), VarError> {
|
||||||
println!("cargo:rustc-link-search=native=C:\\Windows\\System32");
|
println!("cargo:rustc-link-search=native=C:\\Windows\\System32");
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
println!("cargo:rustc-link-lib=dylib=amd_comgr");
|
println!("cargo:rustc-link-lib=dylib:+verbatim=libamd_comgr.so.2");
|
||||||
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
|
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
2
ext/hip_runtime-sys/build.rs
vendored
2
ext/hip_runtime-sys/build.rs
vendored
|
@ -13,7 +13,7 @@ fn main() -> Result<(), VarError> {
|
||||||
println!("cargo:rustc-link-search=native=C:\\Windows\\System32");
|
println!("cargo:rustc-link-search=native=C:\\Windows\\System32");
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
println!("cargo:rustc-link-lib=dylib=amdhip64");
|
println!("cargo:rustc-link-lib=dylib:+verbatim=libamdhip64.so.6");
|
||||||
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
|
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue