Skip to content

Commit 9fc152a

Browse files
authored
Update for raft logger changes (#4835)
This PR updates cugraph to use raft's updated logger implementation using [rapids-logger](https://github.com/rapidsai/rapids-logger). This PR requires rapidsai/raft#2530. Contributes to rapidsai/build-planning#104 Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Bradley Dice (https://github.com/bdice) - James Lamb (https://github.com/jameslamb) - Brad Rees (https://github.com/BradReesWork) URL: #4835
1 parent b440e30 commit 9fc152a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

cpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ target_link_libraries(cugraph
488488
${COMPILED_RAFT_LIB}
489489
cuco::cuco
490490
rmm::rmm_logger_impl
491+
raft::raft_logger_impl
491492
)
492493

493494
################################################################################

cpp/tests/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ function(ConfigureTest CMAKE_TEST_NAME)
169169
cugraphtestutil
170170
GTest::gtest
171171
GTest::gtest_main
172+
test_logger_impls
172173
)
173174
set_target_properties(
174175
${CMAKE_TEST_NAME}
@@ -199,6 +200,7 @@ function(ConfigureTestMG CMAKE_TEST_NAME)
199200
GTest::gtest_main
200201
NCCL::NCCL
201202
MPI::MPI_CXX
203+
test_logger_impls
202204
)
203205
set_target_properties(
204206
${CMAKE_TEST_NAME}
@@ -250,6 +252,7 @@ function(ConfigureCTest CMAKE_TEST_NAME)
250252
cugraph_c_testutil
251253
GTest::gtest
252254
GTest::gtest_main
255+
test_logger_impls
253256
)
254257
set_target_properties(
255258
${CMAKE_TEST_NAME}
@@ -282,6 +285,7 @@ function(ConfigureCTestMG CMAKE_TEST_NAME)
282285
GTest::gtest_main
283286
NCCL::NCCL
284287
MPI::MPI_CXX
288+
test_logger_impls
285289
)
286290
set_target_properties(
287291
${CMAKE_TEST_NAME}
@@ -310,6 +314,10 @@ function(ConfigureCTestMG CMAKE_TEST_NAME)
310314

311315
endfunction()
312316

317+
add_library(test_logger_impls OBJECT)
318+
target_link_libraries(test_logger_impls PRIVATE raft::raft_logger_impl)
319+
320+
313321
###################################################################################################
314322
### test sources ##################################################################################
315323
###################################################################################################

0 commit comments

Comments
 (0)