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: 0b28ca3f04]
This commit is contained in:
Ranjith Ramakrishnan
2024-06-12 00:32:25 -07:00
parent 92b0b9fbc2
commit 17e9b6cedb
@@ -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)