summarylogtreecommitdiffstats
path: root/system-lib.patch
blob: f63aca9cac62aac92572c6f56053c6bda4caf9f9 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- cpp/CMakeLists.txt	2026-02-06 00:32:59.000000000 +0800
+++ cpp/CMakeLists.txt.new	2026-03-11 21:12:40.407198144 +0800
@@ -12,6 +12,7 @@
 include(rapids-cpm)
 include(rapids-cuda)
 include(${rapids-cmake-dir}/cuda/set_runtime.cmake)
+include(${rapids-cmake-dir}/export/find_package_root.cmake)
 include(rapids-export)
 include(rapids-find)
 
@@ -260,24 +261,20 @@
 # add third party dependencies using CPM
 rapids_cpm_init()
 
-include(${rapids-cmake-dir}/cpm/rapids_logger.cmake)
-rapids_cpm_rapids_logger(BUILD_EXPORT_SET cudf-exports INSTALL_EXPORT_SET cudf-exports)
+find_package(rapids_logger REQUIRED)
 create_logger_macros(CUDF "cudf::default_logger()" include/cudf)
 
 # find jitify
 include(cmake/thirdparty/get_jitify.cmake)
 
 # find NVTX
-include(cmake/thirdparty/get_nvtx.cmake)
+find_package(nvtx3 REQUIRED)
 
 # find nvCOMP
-include(cmake/thirdparty/get_nvcomp.cmake)
-
-# find CCCL
-include(cmake/thirdparty/get_cccl.cmake)
+find_package(nvcomp REQUIRED)
 
 # find rmm, should come after including CCCL to allow overriding the CCCL version used for testing
-include(cmake/thirdparty/get_rmm.cmake)
+find_package(rmm REQUIRED)
 
 # find croaring
 include(cmake/thirdparty/get_croaring.cmake)
@@ -286,10 +283,10 @@
 include(cmake/thirdparty/get_flatbuffers.cmake)
 
 # find dlpack
-include(cmake/thirdparty/get_dlpack.cmake)
+find_package(dlpack REQUIRED)
 
 # find cuCollections, should come after including CCCL
-include(cmake/thirdparty/get_cucollections.cmake)
+find_package(cuco REQUIRED)
 
 # find or install GoogleTest
 if(CUDF_BUILD_TESTUTIL)
@@ -300,14 +297,11 @@
 include(cmake/Modules/JitifyPreprocessKernels.cmake)
 
 # find KvikIO
-include(cmake/thirdparty/get_kvikio.cmake)
+find_package(kvikio REQUIRED)
 
 # find nanoarrow
 include(cmake/thirdparty/get_nanoarrow.cmake)
 
-# find thread_pool
-include(cmake/thirdparty/get_thread_pool.cmake)
-
 # find zstd
 include(cmake/thirdparty/get_zstd.cmake)
 
@@ -982,7 +976,7 @@
 # Specify the target module library dependencies
 target_link_libraries(
   cudf
-  PUBLIC CCCL::CCCL rapids_logger::rapids_logger rmm::rmm $<BUILD_LOCAL_INTERFACE:BS::thread_pool>
+  PUBLIC CCCL::CCCL rapids_logger::rapids_logger rmm::rmm
   PRIVATE $<BUILD_LOCAL_INTERFACE:nvtx3::nvtx3-cpp> cuco::cuco ZLIB::ZLIB nvcomp::nvcomp
           kvikio::kvikio nanoarrow::nanoarrow zstd
 )