From e2388f242a254463ca6596b8790302dec3a4e50b Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Tue, 6 Sep 2022 15:05:40 -0400 Subject: [PATCH] Disable automatic dependency for rocrtst RPM Disable automatic dependency detection when generating rocrtst RPMs. This was adding unnecessary dependency on libhwloc, which is now provided with the rocrtst package. This matches behavior for DEB packages where there is no dependency list for rocrtst. Change-Id: If4a93f5b4c039b2f45e9445f60f65eefe84e32eb --- rocrtst/suites/test_common/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rocrtst/suites/test_common/CMakeLists.txt b/rocrtst/suites/test_common/CMakeLists.txt index f5b6e4f78f..d5f1befd30 100755 --- a/rocrtst/suites/test_common/CMakeLists.txt +++ b/rocrtst/suites/test_common/CMakeLists.txt @@ -47,6 +47,7 @@ set ( CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE STRING "De set ( CPACK_GENERATOR "DEB;RPM" CACHE STRING "Default packaging generators." ) set ( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/RadeonOpenCompute/ROCR-Runtime" ) set ( CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/RadeonOpenCompute/ROCR-Runtime" ) +set ( CPACK_RPM_PACKAGE_AUTOREQ 0 ) set(DEFAULT_TARGETS "gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1102;gfx1103")