Skip to content

Commit c905656

Browse files
committed
refactor(amd): make drm amdgpu point to so.1
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent aa03dc1 commit c905656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pack/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ RUN --mount=type=bind,from=rocm-base,source=/opt/rocm/share,target=/opt/rocm/sha
354354

355355
# Hack to avoid: Fail to open libdrm_amdgpu.so: libdrm_amdgpu.so: cannot open shared object file: No such file or directory
356356
TARGET_DIR="/usr/lib/$(uname -m)-linux-gnu"
357-
TARGET_LIB="libdrm_amdgpu.so.1.0.0"
357+
TARGET_LIB="libdrm_amdgpu.so.1"
358358
TARGET_LINK="libdrm_amdgpu.so"
359359
TARGET_LIB_EXISTED="true"
360360
if [[ ! -e "${TARGET_DIR}/${TARGET_LIB}" ]]; then

0 commit comments

Comments
 (0)