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.
This commit is contained in:
@@ -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* \
|
||||
|
||||
Reference in New Issue
Block a user