Skip to content

Commit

Permalink
Adapt to rmm logger changes (#336)
Browse files Browse the repository at this point in the history
This PR adapts to breaking changes in rmm in rapidsai/rmm#1722.

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

URL: #336
  • Loading branch information
vyasr authored Nov 27, 2024
1 parent d72a038 commit be0965b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ target_compile_definitions(

# Enable RMM if necessary
if(UCXX_ENABLE_RMM)
target_link_libraries(ucxx PUBLIC rmm::rmm)
target_link_libraries(ucxx
PUBLIC rmm::rmm rmm::rmm_logger
PRIVATE rmm::rmm_logger_impl
)

# Define spdlog level
target_compile_definitions(ucxx PUBLIC UCXX_ENABLE_RMM "SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_${RMM_LOGGING_LEVEL}")
Expand Down

0 comments on commit be0965b

Please sign in to comment.