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
이 커밋은 다음에 포함됨:
Ranjith Ramakrishnan가 2024-06-17 19:34:13 -04:00를 커밋했습니다
1 부모 6df445fef6
커밋 0b28ca3f04
1 파일이 변경됨
+4 -4
+4 -4
파일 보기
@@ -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)