From fa31755c58fb4c32576a34b2eb9827e9f1bf3541 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 14 Dec 2022 21:44:26 +0000 Subject: [PATCH] SWDEV-366868 - Fix hip-catch-amd rpm installation issue --- catch/packaging/hip-tests.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/catch/packaging/hip-tests.txt b/catch/packaging/hip-tests.txt index 0c168e5192..7f1030e06c 100644 --- a/catch/packaging/hip-tests.txt +++ b/catch/packaging/hip-tests.txt @@ -78,9 +78,10 @@ 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@) +set (CPACK_RPM_PACKAGE_AUTOREQ 0) # to remove hip-catch-* package during uninstallation of rocm -set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core") -set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core") +set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core, hip-runtime-amd") +set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core, hip-runtime-amd") if(NOT WIN32) set(CPACK_GENERATOR "TGZ;DEB;RPM" CACHE STRING "Linux package types for catch tests")