summarylogtreecommitdiffstats
path: root/missing-pkg.patch
blob: 3fdf768dace8afee474ad1e5c7da9e0016801828 (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
--- src/raft-25.08.00/python/pylibraft/CMakeLists.txt	2025-08-07 02:33:45.000000000 +0800
+++ src/raft-25.08.00/python/pylibraft/CMakeLists.txt.new	2025-08-08 10:03:41.463232702 +0800
@@ -15,6 +15,11 @@
 cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)
 
 include(../../cmake/rapids_config.cmake)
+include(rapids-cmake)
+include(rapids-cpm)
+include(rapids-export)
+include(rapids-find)
+rapids_cpm_init()
 
 # We always need CUDA for pylibraft because the raft dependency brings in a header-only cuco
 # dependency that enables CUDA unconditionally.
@@ -28,6 +32,12 @@
 )
 
 # an installed version of raft contains the other necessary targets (like CCCL and cuco)
+find_package(CCCL REQUIRED)
+find_package(rapids_logger REQUIRED)
+find_package(nvtx3 REQUIRED)
+include(../../cpp/cmake/thirdparty/get_cutlass.cmake)
+find_package(rmm REQUIRED)
+find_package(cuco REQUIRED)
 find_package(raft "${RAPIDS_VERSION}" REQUIRED COMPONENTS raft compiled)
 
 include(rapids-cython-core)