Skip to content

Commit 983a9ac

Browse files
Merge pull request #60 from david-salinas/update_package_depends
Update HIPCC packaging depends, allow rocm-core to be removed
2 parents 6ec65fe + 2b2eb04 commit 983a9ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

amd/hipcc/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,9 @@ if(NOT WIN32)
126126
endif()
127127
endif()
128128

129+
if(NOT ROCM_DEP_ROCMCORE)
130+
string(REGEX REPLACE ",? ?rocm-core" "" CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS})
131+
string(REGEX REPLACE ",? ?rocm-core" "" CPACK_RPM_PACKAGE_REQUIRES ${CPACK_RPM_PACKAGE_REQUIRES})
132+
endif()
133+
129134
include(CPack)

0 commit comments

Comments
 (0)