Disable Autoprov when build rpm
The rdc may install third party library in its local folder. We
need to disable the Autoprov to prevent the rpm add provides
for them.
Change-Id: I18d008c2ca2ecb6bba64467d78b1f8c3a6585aea
[ROCm/rdc commit: b8746f7fc0]
This commit is contained in:
1 parent
cd50afa74c
commit
8a4a3124f1
1 file changed
+1
@@ -275,6 +275,7 @@ endif()
|
||||
set ( CPACK_RPM_FILE_NAME "RPM-DEFAULT" )
|
||||
|
||||
set(CPACK_RPM_PACKAGE_AUTOREQ 0)
|
||||
set(CPACK_RPM_PACKAGE_AUTOPROV 0)
|
||||
set(CPACK_RPM_PACKAGE_REQUIRES "rocm-smi-lib")
|
||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib")
|
||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/sbin")
|
||||
|
||||
Reference in new issue
Block a user