From 75d013ef1bdea3bfaaeb3a8f68a20e510a27df9e Mon Sep 17 00:00:00 2001 From: raramakr <91213141+raramakr@users.noreply.github.com> Date: Tue, 21 May 2024 21:58:06 -0700 Subject: [PATCH] Use the package name hip-dev/devel rather than using the deprecated package name hip-base. (#3098) --- CMakeLists.txt | 5 ++++- Dockerfile | 2 +- hip-clang.docker | 2 +- tools/docker/ubuntu_2204.dockerfile | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e716d92f04..d3a2fde80be 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -343,11 +343,14 @@ if(MIGRAPHX_USE_ROCBLAS) list(APPEND PACKAGE_DEPENDS rocblas) endif() +rocm_package_add_deb_dependencies(SHARED_DEPENDS "hip-dev") +rocm_package_add_rpm_dependencies(SHARED_DEPENDS "hip-devel") + rocm_create_package( NAME MIGraphX DESCRIPTION "AMD's graph optimizer" MAINTAINER "AMDMIGraphX Maintainer " LDCONFIG PTH - DEPENDS miopen-hip ${DEPENDS_HIP_RUNTIME} hip-base half ${PACKAGE_DEPENDS} + DEPENDS miopen-hip ${DEPENDS_HIP_RUNTIME} half ${PACKAGE_DEPENDS} ) diff --git a/Dockerfile b/Dockerfile index 657f90e7e02..cc5f14a7ca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow- libpython3.8 \ wget \ rocm-device-libs \ - hip-base \ + hip-dev \ libnuma-dev \ miopen-hip \ rocblas \ diff --git a/hip-clang.docker b/hip-clang.docker index 6b090607b1e..73a3e8edbba 100755 --- a/hip-clang.docker +++ b/hip-clang.docker @@ -27,7 +27,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow- software-properties-common \ wget \ rocm-device-libs \ - hip-base \ + hip-dev \ libnuma-dev \ miopen-hip \ rocblas \ diff --git a/tools/docker/ubuntu_2204.dockerfile b/tools/docker/ubuntu_2204.dockerfile index 906b256eebe..15afe6d56d7 100644 --- a/tools/docker/ubuntu_2204.dockerfile +++ b/tools/docker/ubuntu_2204.dockerfile @@ -36,7 +36,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow- software-properties-common \ wget \ rocm-device-libs \ - hip-base \ + hip-dev \ libnuma-dev \ miopen-hip \ rocblas \