Skip to content

Commit 8f63ef0

Browse files
committed
Merge remote-tracking branch 'upstream/release/rocm-rel-6.2' into 6.2-mergeback
2 parents fe531bc + 1862031 commit 8f63ef0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,9 @@ macro(rocm_set_comp_cpackvar HEADER_ONLY NAME_SUFFIX components)
531531
set(CPACK_DEBIAN_RUNTIME_FILE_NAME "DEB-DEFAULT")
532532
endif()
533533
if (NOT ${HEADER_ONLY} AND BUILD_SHARED_LIBS)
534-
set(CPACK_RPM_MAIN_COMPONENT "runtime")
534+
if (NOT ENABLE_ASAN_PACKAGING)
535+
set(CPACK_RPM_MAIN_COMPONENT "runtime")
536+
endif()
535537
list(APPEND CPACK_COMPONENTS_ALL runtime)
536538
endif()
537539
endif()

0 commit comments

Comments
 (0)