Skip to content

Commit

Permalink
Update for raft logger changes (#4835)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vyasr authored Dec 31, 2024
1 parent b440e30 commit 9fc152a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ target_link_libraries(cugraph
${COMPILED_RAFT_LIB}
cuco::cuco
rmm::rmm_logger_impl
raft::raft_logger_impl
)

################################################################################
Expand Down
8 changes: 8 additions & 0 deletions cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function(ConfigureTest CMAKE_TEST_NAME)
cugraphtestutil
GTest::gtest
GTest::gtest_main
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand Down Expand Up @@ -199,6 +200,7 @@ function(ConfigureTestMG CMAKE_TEST_NAME)
GTest::gtest_main
NCCL::NCCL
MPI::MPI_CXX
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand Down Expand Up @@ -250,6 +252,7 @@ function(ConfigureCTest CMAKE_TEST_NAME)
cugraph_c_testutil
GTest::gtest
GTest::gtest_main
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand Down Expand Up @@ -282,6 +285,7 @@ function(ConfigureCTestMG CMAKE_TEST_NAME)
GTest::gtest_main
NCCL::NCCL
MPI::MPI_CXX
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand Down Expand Up @@ -310,6 +314,10 @@ function(ConfigureCTestMG CMAKE_TEST_NAME)

endfunction()

add_library(test_logger_impls OBJECT)
target_link_libraries(test_logger_impls PRIVATE raft::raft_logger_impl)


###################################################################################################
### test sources ##################################################################################
###################################################################################################
Expand Down

0 comments on commit 9fc152a

Please sign in to comment.