summarylogtreecommitdiffstats
path: root/system-lib.patch
blob: 53a560d282369512ac54534e89a7e07a100424e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- cpp/CMakeLists.txt	2026-02-05 00:21:37.000000000 +0800
+++ cpp/CMakeLists.txt.new	2026-03-11 15:37:19.132145479 +0800
@@ -69,12 +69,11 @@
 # add third party dependencies using CPM
 rapids_cpm_init()
 
-include(${rapids-cmake-dir}/cpm/rapids_logger.cmake)
-rapids_cpm_rapids_logger(BUILD_EXPORT_SET rmm-exports INSTALL_EXPORT_SET rmm-exports)
+find_package(rapids_logger REQUIRED)
 create_logger_macros(RMM "rmm::default_logger()" include/rmm)
 
+find_package(nvtx3 REQUIRED)
 include(cmake/thirdparty/get_cccl.cmake)
-include(cmake/thirdparty/get_nvtx.cmake)
 
 # ##################################################################################################
 # * library targets --------------------------------------------------------------------------------
@@ -125,9 +124,8 @@
   target_compile_definitions(rmm PUBLIC RMM_NVTX)
 endif()
 
-set(RMM_CXX_FLAGS -Wall -Werror -Wextra -Wno-unknown-pragmas -Wno-error=deprecated-declarations)
-set(RMM_CUDA_FLAGS -Werror=all-warnings
-                   -Xcompiler=-Wall,-Werror,-Wextra,-Wno-error=deprecated-declarations)
+set(RMM_CXX_FLAGS -Wall -Wextra -Wno-unknown-pragmas -Wno-error=deprecated-declarations)
+set(RMM_CUDA_FLAGS -Xcompiler=-Wall,-Wextra,-Wno-error=deprecated-declarations)
 target_compile_options(rmm PRIVATE "$<$<COMPILE_LANGUAGE:CXX>:${RMM_CXX_FLAGS}>"
                                    "$<$<COMPILE_LANGUAGE:CUDA>:${RMM_CUDA_FLAGS}>")