Skip to content

Commit

Permalink
fix(core): building rocm version with modern ROCm (#2114)
Browse files Browse the repository at this point in the history
Even in currently used version (5.7.1) all lib symlinks
are available in /opt/rocm-xxx/lib/.

Sin ROCm 6.0.0 there is no separate folders with dev libs
for each lib.
  • Loading branch information
vovochka404 authored May 14, 2024
1 parent 5d8f0bd commit cec397c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/llama-cpp-bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ fn build_llama_cpp() {
println!("cargo:rustc-link-search=native={}/hip/lib", rocm_root);
println!("cargo:rustc-link-search=native={}/rocblas/lib", rocm_root);
println!("cargo:rustc-link-search=native={}/hipblas/lib", rocm_root);
println!("cargo:rustc-link-search=native={}/lib", rocm_root);
println!("cargo:rustc-link-lib=amdhip64");
println!("cargo:rustc-link-lib=rocblas");
println!("cargo:rustc-link-lib=hipblas");
Expand Down

0 comments on commit cec397c

Please sign in to comment.