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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user