Skip to content

Commit 214d315

Browse files
committed
Revert "Add rocm-core dependency to all generated packages, not just the root one. (#257)"
This reverts commit f50f30f.
1 parent d0aa73b commit 214d315

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ macro(rocm_package_add_rocm_core_dependency)
139139
endif()
140140
rocm_join_if_set(", " CPACK_DEBIAN_PACKAGE_DEPENDS ${_rocm_core_pkg})
141141
rocm_join_if_set(", " CPACK_RPM_PACKAGE_REQUIRES ${_rocm_core_pkg})
142-
foreach(COMPONENT IN LISTS ROCM_PACKAGE_COMPONENTS)
143-
rocm_package_add_dependencies(COMPONENT ${COMPONENT} DEPENDS ${_rocm_core_pkg})
144-
endforeach()
145-
rocm_package_add_dependencies(COMPONENT runtime DEPENDS ${_rocm_core_pkg})
146-
rocm_package_add_dependencies(COMPONENT devel DEPENDS ${_rocm_core_pkg})
147142
unset(_rocm_core_pkg)
148143
endif()
149144
endmacro()

0 commit comments

Comments
 (0)