Skip to content

Commit

Permalink
Merge branch 'release/rocm-rel-6.2' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmb committed Jul 11, 2024
2 parents dfaa4dd + aa86563 commit e71bdd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ macro(rocm_compute_component_package_name COMPONENT_NAME BASE_NAME NAME_SUFFIX H
else()
if(ENABLE_ASAN_PACKAGING)
set(_component_suffix asan)
elseif(NOT ${HEADER_ONLY} AND NOT ${BUILD_SHARED_LIBS})
elseif(NOT ${BUILD_SHARED_LIBS})
set(_component_suffix static)
endif()
endif()
Expand All @@ -500,13 +500,13 @@ macro(rocm_compute_component_package_name COMPONENT_NAME BASE_NAME NAME_SUFFIX H
OR CPACK_RPM_${_component_name_upper}_PACKAGE_NAME STREQUAL ""
)
set(CPACK_RPM_${_component_name_upper}_PACKAGE_NAME
"${BASE_NAME}${_rpm_component_partial}${_component_suffix}")
"${BASE_NAME}${_component_suffix}${_rpm_component_partial}")
endif()
if(NOT DEFINED CPACK_DEBIAN_${_component_name_upper}_PACKAGE_NAME
OR CPACK_DEBIAN_${_component_name_upper}_PACKAGE_NAME STREQUAL ""
)
set(CPACK_DEBIAN_${_component_name_upper}_PACKAGE_NAME
"${BASE_NAME}${_deb_component_partial}${_component_suffix}")
"${BASE_NAME}${_component_suffix}${_deb_component_partial}")
endif()

# clean up temporary variables
Expand Down

0 comments on commit e71bdd5

Please sign in to comment.