Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove runtime package #156

Merged
merged 2 commits into from
Jul 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ endif()

# Package
if(HIP_COMPILER STREQUAL "hcc" OR HIP_COMPILER STREQUAL "clang")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "rocprim (>= 2.10.1)")
set(CPACK_RPM_PACKAGE_REQUIRES "rocprim >= 2.10.1")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "rocprim-devel (>= 2.10.1)")
set(CPACK_RPM_PACKAGE_REQUIRES "rocprim-devel >= 2.10.1")
set(CPACK_DEBIAN_PACKAGE_REPLACES "cub-hip")
set(CPACK_RPM_PACKAGE_OBSOLETES "cub-hip")
else()
Expand All @@ -167,11 +167,13 @@ if(HIP_COMPILER STREQUAL "hcc" OR HIP_COMPILER STREQUAL "clang")
NAME hipcub
DESCRIPTION "hipCUB (rocPRIM backend)"
MAINTAINER "hipcub-maintainer@amd.com"
HEADER_ONLY
)
else()
rocm_create_package(
NAME hipcub_nvcc
DESCRIPTION "hipCUB (CUB backend)"
MAINTAINER "hipcub-maintainer@amd.com"
HEADER_ONLY
)
endif()