From 9e3586439c3feade2accb3f57163d3a0fa16edbe 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-tests commit: 6fed9ba2b2c0aea9b10e3584c86f89ce7f948492] --- 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")