From bae2f724aae83a3fc8e65ba46fba5da44080cafe Mon Sep 17 00:00:00 2001 From: Mickael Ide Date: Tue, 26 Mar 2024 17:09:41 +0100 Subject: [PATCH 1/2] Update nvtx3 link in cmake --- cpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index cbae4bfb3f..c70e73593c 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -22,6 +22,7 @@ option(BUILD_CPU_ONLY "Build CPU only components. Applies to RAFT ANN benchmarks # workaround for rapids_cuda_init_architectures not working for arch detection with # enable_language(CUDA) set(lang_list "CXX") +set(CMAKE_INSTALL_MESSAGE LAZY) if(NOT BUILD_CPU_ONLY) include(rapids-cuda) @@ -274,7 +275,7 @@ else() "\" OFF)" [=[ -target_link_libraries(raft::raft INTERFACE $<$:CUDA::nvToolsExt>) +target_link_libraries(raft::raft INTERFACE $<$:CUDA::nvtx3>) target_compile_definitions(raft::raft INTERFACE $<$:NVTX_ENABLED>) ]=] From 7a3d3e92fa70c6808f115afd0b0dacb334e84c88 Mon Sep 17 00:00:00 2001 From: Mickael Ide Date: Wed, 8 May 2024 19:10:16 +0200 Subject: [PATCH 2/2] Remove CMAKE_INSTALL_MESSAGE = LAZY --- cpp/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index f91558bbfd..f7d1c9b119 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -22,7 +22,6 @@ option(BUILD_CPU_ONLY "Build CPU only components. Applies to RAFT ANN benchmarks # workaround for rapids_cuda_init_architectures not working for arch detection with # enable_language(CUDA) set(lang_list "CXX") -set(CMAKE_INSTALL_MESSAGE LAZY) if(NOT BUILD_CPU_ONLY) include(rapids-cuda)