Correct the package name of rocprofiler-sdk (#1126)
* Correct the package name of rocprofiler-sdk ROCM VERSION(for ex: 60300) was missing in the package name. Added the same * Use cmake cache string while setting the variable for ROCm Version * correct the cmake-format --------- Co-authored-by: Ranjith Ramakrishnan <Ranjith.Ramakrishnan@amd.com>
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
8ab1ed78d8
işleme
309d53b20b
@@ -197,9 +197,18 @@ set(CPACK_RPM_PACKAGE_LICENSE "MIT")
|
||||
# Prepare final version for the CPACK use
|
||||
#
|
||||
# -------------------------------------------------------------------------------------- #
|
||||
|
||||
# Make proper version for appending Default Value is 99999
|
||||
set(ROCM_VERSION_FOR_PACKAGE
|
||||
"99999"
|
||||
CACHE STRING "")
|
||||
if(DEFINED ENV{ROCM_LIBPATCH_VERSION})
|
||||
set(ROCM_VERSION_FOR_PACKAGE
|
||||
"$ENV{ROCM_LIBPATCH_VERSION}"
|
||||
CACHE STRING "" FORCE)
|
||||
endif()
|
||||
# Prepare final version for the CPACK use
|
||||
set(CPACK_PACKAGE_VERSION
|
||||
"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}"
|
||||
"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}.${ROCM_VERSION_FOR_PACKAGE}"
|
||||
)
|
||||
|
||||
include(CPack)
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle