SWDEV-449560 - Backward compatibility support for deprected package rocm-clang-ocl
rocm-clang-ocl has been deprected from ROCm 6.1 onwards. Uprading ROCm from 6.0 to latest release will result in stale files of rocm-clang-ocl. rocm-core will replaces/obsoletes rocm-clang-ocl package. This will ensure clean removal of the deprecated package Change-Id: Id5c16492273d8a0dcbbd5ac797daaef96c058f5b
Cette révision appartient à :
révisé par
Nirmal Unnikrishnan
Parent
c83bdca4bb
révision
a5a437e48a
@@ -192,6 +192,12 @@ set ( CPACK_RPM_RUNTIME_POST_UNINSTALL_SCRIPT_FILE "${CMAKE_CURRENT_BINARY_DIR}/
|
||||
if ( DEFINED CPACK_PACKAGING_INSTALL_PREFIX )
|
||||
set ( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "${CPACK_PACKAGING_INSTALL_PREFIX} ${CPACK_PACKAGING_INSTALL_PREFIX}/.info" )
|
||||
endif ( )
|
||||
# Backward compatibility support for deprecated package rocm-clang-ocl
|
||||
# TODO: To be removed after two releases
|
||||
set(CPACK_DEBIAN_RUNTIME_PACKAGE_REPLACES "rocm-clang-ocl")
|
||||
set(CPACK_DEBIAN_RUNTIME_PACKAGE_CONFLICTS "rocm-clang-ocl")
|
||||
|
||||
set(CPACK_RPM_RUNTIME_PACKAGE_OBSOLETES "rocm-clang-ocl")
|
||||
|
||||
## Include packaging
|
||||
include ( CPack )
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur