From 17e9b6cedb8e3522df2f14d130ea7a365dca9dbc Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Wed, 12 Jun 2024 00:32:25 -0700 Subject: [PATCH] SWDEV-383837 - Update hip-samples package dependencies hip-samples package should depends on hip-dev/devel and hipcc rather than hip-runtime-amd Updated the same for static package as well DependsOn: Iacab7993dffaa00efd1344d3eafb55f6317d1509 Change-Id: I1470475ddbaf9201ba0e39977aeb48b0382f59c9 [ROCm/hip-tests commit: 0b28ca3f048deb164237c73ba81a6b0e43c66a06] --- projects/hip-tests/samples/packaging/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/hip-tests/samples/packaging/CMakeLists.txt b/projects/hip-tests/samples/packaging/CMakeLists.txt index d631ed6254..8483f88c58 100644 --- a/projects/hip-tests/samples/packaging/CMakeLists.txt +++ b/projects/hip-tests/samples/packaging/CMakeLists.txt @@ -57,11 +57,11 @@ set(CPACK_RPM_SPEC_MORE_DEFINE "%global __os_install_post %{nil}") set (CPACK_RPM_PACKAGE_AUTOREQ 0) # to remove hip-samples-* package during uninstallation of rocm if(BUILD_SHARED_LIBS) - set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core, hip-runtime-amd") - set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core, hip-runtime-amd") + set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core, hip-dev, hipcc") + set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core, hip-devel, hipcc") else() - set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core, hip-static-dev") - set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core, hip-static-devel") + set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core, hip-static-dev, hipcc-static-dev") + set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core, hip-static-devel, hipcc-static-devel") endif() if(NOT WIN32)