From 8f179d543c97741e3b0f7b99842e09aa32d3e658 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Thu, 27 Oct 2022 20:24:33 +0530 Subject: [PATCH] SWDEV-332251 - removal of hip-catch* pkg during rocm uninstallation (#3033) Adds rocm-core dependency Change-Id: I749aa19bbbccb92f3ae2314d5029a1b96555e851 [ROCm/hip commit: 88389c449598b51df5427b463b1bdb5a39643089] --- projects/hip/tests/catch/packaging/hip-tests.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/hip/tests/catch/packaging/hip-tests.txt b/projects/hip/tests/catch/packaging/hip-tests.txt index f934130e34..553fdb853b 100644 --- a/projects/hip/tests/catch/packaging/hip-tests.txt +++ b/projects/hip/tests/catch/packaging/hip-tests.txt @@ -71,6 +71,9 @@ set(CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc.") set(CPACK_PACKAGE_CONTACT "HIP Support ") set(CPACK_PACKAGE_VERSION @HIP_VERSION_MAJOR@.@HIP_VERSION_MINOR@.@HIP_VERSION_PATCH_GITHASH@) +# to remove hip-catch-* package during uninstallation of rocm +set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core") +set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core") if(NOT WIN32) set(CPACK_GENERATOR "TGZ;DEB;RPM" CACHE STRING "Linux package types for catch tests")