Skip to content

Commit

Permalink
Merge pull request #212 from ROCm/hotfix-rpm-asan
Browse files Browse the repository at this point in the history
Don't set `CPACK_RPM_MAIN_COMPONENT' for ASAN builds
  • Loading branch information
mamaydeo authored Jul 23, 2024
2 parents a452962 + 0f3cada commit 1862031
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 1862031

Please sign in to comment.