Skip to content

Commit

Permalink
Merge pull request #218 from lawruble13/6.2-mergeback
Browse files Browse the repository at this point in the history
Merge back 6.2 fixes
  • Loading branch information
lawruble13 authored Aug 2, 2024
2 parents fe531bc + 8f63ef0 commit 7e06998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,9 @@ macro(rocm_set_comp_cpackvar HEADER_ONLY NAME_SUFFIX components)
set(CPACK_DEBIAN_RUNTIME_FILE_NAME "DEB-DEFAULT")
endif()
if (NOT ${HEADER_ONLY} AND BUILD_SHARED_LIBS)
set(CPACK_RPM_MAIN_COMPONENT "runtime")
if (NOT ENABLE_ASAN_PACKAGING)
set(CPACK_RPM_MAIN_COMPONENT "runtime")
endif()
list(APPEND CPACK_COMPONENTS_ALL runtime)
endif()
endif()
Expand Down

0 comments on commit 7e06998

Please sign in to comment.