From dae44b59eb1c9c59c8cdbf84acef13ffd6dbf125 Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Tue, 12 Jan 2021 17:15:52 -0600 Subject: [PATCH] Comment out CPACK_RPM_PACKAGE_SUGGESTS line This line make the build fail on Centos. It may be that it's not supported on that disto. See https://bugzilla.redhat.com/show_bug.cgi?id=1811358 Change-Id: Ied7ce634ae9fb2b1544f85c0b10ceecc039c388a [ROCm/rocm_smi_lib commit: 47b882b8d300573444682c2a37da5b1c1164a056] --- projects/rocm-smi-lib/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/rocm-smi-lib/CMakeLists.txt b/projects/rocm-smi-lib/CMakeLists.txt index 4c9c483102..69a807a3af 100755 --- a/projects/rocm-smi-lib/CMakeLists.txt +++ b/projects/rocm-smi-lib/CMakeLists.txt @@ -178,7 +178,10 @@ if(CPACK_RPM_PACKAGE_RELEASE) set(CPACK_RPM_PACKAGE_RELEASE_DIST ON) endif() set (CPACK_RPM_PACKAGE_PROVIDES "rocm-smi") -set (CPACK_RPM_PACKAGE_SUGGESTS "sudo") + +# The line below doesn't currently work; it may be this issue: +# https://bugzilla.redhat.com/show_bug.cgi?id=1811358 +# set (CPACK_RPM_PACKAGE_SUGGESTS "sudo") #Prepare final version for the CPACK use set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}.${ROCM_VERSION_FOR_PACKAGE}")