Skip to content

Commit 2b2eb04

Browse files
author
David Salinas
committed
Update HIPCC packaging depends, allow rocm-core to be removed with ROCM_DEP_ROCMCORE
1 parent 49ab7a6 commit 2b2eb04

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
@@ -111,4 +111,9 @@ if(NOT WIN32)
111111
endif()
112112
endif()
113113

114+
if(NOT ROCM_DEP_ROCMCORE)
115+
string(REGEX REPLACE ",? ?rocm-core" "" CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS})
116+
string(REGEX REPLACE ",? ?rocm-core" "" CPACK_RPM_PACKAGE_REQUIRES ${CPACK_RPM_PACKAGE_REQUIRES})
117+
endif()
118+
114119
include(CPack)

0 commit comments

Comments
 (0)