From eb2f1bb6bc4275e3eb238d6d74106d824947a90e Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 20 Sep 2026 15:25:09 -0700 Subject: [PATCH] build-llama-rdna4: bundle librocm-core librccl DT_NEEDEDs librocm-core.so.1, so a GGML_HIP_RCCL=ON binary would not exec from its bundled lib dir (measured: 'error while loading shared libraries: librocm-core.so.1'). The layer-split build never pulled it in. --- scripts/build-llama-rdna4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-llama-rdna4.sh b/scripts/build-llama-rdna4.sh index a1ff520..9fd17f7 100755 --- a/scripts/build-llama-rdna4.sh +++ b/scripts/build-llama-rdna4.sh @@ -111,7 +111,7 @@ if command -v patchelf >/dev/null; then mkdir -p "$LIB_DIR" for pat in libamdhip64 librocblas libhipblas libhipblaslt librocsolver \ libroctx64 libamd_comgr libhsa-runtime64 librocm_kpack \ - librocroller librocprofiler-register; do + librocroller librocprofiler-register librocm-core; do cp -v "$ROCM_LOCAL_PATH/lib/$pat".so* "$LIB_DIR/" 2>/dev/null || true done cp -v "$ROCM_LOCAL_PATH/lib/llvm/lib"/libLLVM.so* \