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

Make cuco a private dependency and leverage rapids-cmake #2432

Merged
merged 10 commits into from
Jul 25, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
9 changes: 5 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ rapids_cpm_init()

# Putting this before raft to override RAFT from pulling them in.
include(cmake/thirdparty/get_libcudacxx.cmake)
include(cmake/thirdparty/get_cuco.cmake)
include(${rapids-cmake-dir}/cpm/cuco.cmake)
rapids_cpm_cuco(BUILD_EXPORT_SET cudf-exports)
vyasr marked this conversation as resolved.
Show resolved Hide resolved

include(cmake/thirdparty/get_raft.cmake)

Expand Down Expand Up @@ -309,17 +310,17 @@ if (USE_CUGRAPH_OPS)
PUBLIC
cugraph-ops::cugraph-ops++
raft::raft
cuco::cuco
PRIVATE
cuco::cuco
cugraph::cuHornet
NCCL::NCCL
)
else()
target_link_libraries(cugraph
PUBLIC
raft::raft
cuco::cuco
PRIVATE
cuco::cuco
cugraph::cuHornet
NCCL::NCCL
)
Expand Down Expand Up @@ -439,8 +440,8 @@ target_link_libraries(cugraph_c
CUDA::cusolver
CUDA::cusparse
raft::raft
cuco::cuco
PRIVATE
cuco::cuco
cugraph::cugraph
)

Expand Down
34 changes: 0 additions & 34 deletions cpp/cmake/thirdparty/get_cuco.cmake

This file was deleted.