Skip to content

Commit

Permalink
change ordering of suffixes
Browse files Browse the repository at this point in the history
(cherry picked from commit bd28d0f)
  • Loading branch information
lawruble13 committed Jun 18, 2024
1 parent 008acef commit 1616feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 1616feb

Please sign in to comment.