Skip to content

Commit

Permalink
[backport] Adapt to rmm 25.02 logger changes (#11153) (#11190)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Maynard <[email protected]>
  • Loading branch information
hcho3 and robertmaynard authored Jan 31, 2025
1 parent 3b19332 commit a406528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ if(PLUGIN_RMM)
list(REMOVE_ITEM rmm_link_libs CUDA::cudart)
list(APPEND rmm_link_libs CUDA::cudart_static)
set_target_properties(rmm::rmm PROPERTIES INTERFACE_LINK_LIBRARIES "${rmm_link_libs}")
get_target_property(rmm_link_libs rmm::rmm INTERFACE_LINK_LIBRARIES)
endif()

if(PLUGIN_SYCL)
Expand Down
2 changes: 2 additions & 0 deletions tests/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ target_include_directories(testxgboost
${xgboost_SOURCE_DIR}/rabit/include)
target_link_libraries(testxgboost
PRIVATE
$<TARGET_NAME_IF_EXISTS:rmm::rmm_logger>
$<TARGET_NAME_IF_EXISTS:rmm::rmm_logger_impl>
GTest::gtest GTest::gmock)

set_output_directory(testxgboost ${xgboost_BINARY_DIR})
Expand Down

0 comments on commit a406528

Please sign in to comment.