File tree 4 files changed +6
-24
lines changed 4 files changed +6
-24
lines changed Original file line number Diff line number Diff line change 4
4
set -euo pipefail
5
5
6
6
# Set up skbuild options. Enable sccache in skbuild config options
7
- export SKBUILD_CONFIGURE_OPTIONS=" -DRAFT_BUILD_WHEELS=ON - DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
7
+ export SKBUILD_CONFIGURE_OPTIONS=" -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
8
8
9
9
ci/build_wheel.sh pylibraft python/pylibraft
Original file line number Diff line number Diff line change 4
4
set -euo pipefail
5
5
6
6
# Set up skbuild options. Enable sccache in skbuild config options
7
- export SKBUILD_CONFIGURE_OPTIONS=" -DRAFT_BUILD_WHEELS=ON - DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
7
+ export SKBUILD_CONFIGURE_OPTIONS=" -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
8
8
9
9
ci/build_wheel.sh raft-dask python/raft-dask
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ option(FIND_RAFT_CPP "Search for existing RAFT C++ installations before defaulti
37
37
ON
38
38
)
39
39
40
- option (RAFT_BUILD_WHEELS "Whether this build is generating a Python wheel." OFF )
41
-
42
40
# If the user requested it we attempt to find RAFT.
43
41
if (FIND_RAFT_CPP)
44
42
find_package (raft ${pylibraft_version} REQUIRED COMPONENTS compiled)
@@ -60,16 +58,9 @@ if(NOT raft_FOUND)
60
58
set (BUILD_PRIMS_BENCH OFF )
61
59
set (BUILD_ANN_BENCH OFF )
62
60
set (RAFT_COMPILE_LIBRARY ON )
61
+ set (CUDA_STATIC_RUNTIME ON )
63
62
64
- set (_exclude_from_all "" )
65
- if (RAFT_BUILD_WHEELS)
66
- # Statically link dependencies if building wheels
67
- set (CUDA_STATIC_RUNTIME ON )
68
- # Don't install the raft C++ targets into wheels
69
- set (_exclude_from_all EXCLUDE_FROM_ALL )
70
- endif ()
71
-
72
- add_subdirectory (../../cpp raft-cpp ${_exclude_from_all} )
63
+ add_subdirectory (../../cpp raft-cpp EXCLUDE_FROM_ALL )
73
64
74
65
# When building the C++ libraries from source we must copy libraft.so alongside the
75
66
# pairwise_distance and random Cython libraries TODO: when we have a single 'compiled' raft
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ option(FIND_RAFT_CPP "Search for existing RAFT C++ installations before defaulti
34
34
OFF
35
35
)
36
36
37
- option (RAFT_BUILD_WHEELS "Whether this build is generating a Python wheel." OFF )
38
-
39
37
# If the user requested it we attempt to find RAFT.
40
38
if (FIND_RAFT_CPP)
41
39
find_package (raft ${raft_dask_version} REQUIRED COMPONENTS distributed)
@@ -54,16 +52,9 @@ if(NOT raft_FOUND)
54
52
set (RAFT_COMPILE_LIBRARIES OFF )
55
53
set (RAFT_COMPILE_DIST_LIBRARY OFF )
56
54
set (RAFT_COMPILE_NN_LIBRARY OFF )
55
+ set (CUDA_STATIC_RUNTIME ON )
57
56
58
- set (_exclude_from_all "" )
59
- if (RAFT_BUILD_WHEELS)
60
- # Statically link dependencies if building wheels
61
- set (CUDA_STATIC_RUNTIME ON )
62
- # Don't install the raft C++ targets into wheels
63
- set (_exclude_from_all EXCLUDE_FROM_ALL )
64
- endif ()
65
-
66
- add_subdirectory (../../cpp raft-cpp ${_exclude_from_all} )
57
+ add_subdirectory (../../cpp raft-cpp EXCLUDE_FROM_ALL )
67
58
list (APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR} /cmake/find_modules)
68
59
find_package (NCCL REQUIRED)
69
60
endif ()
You can’t perform that action at this time.
0 commit comments