Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cmake -S . -B build -G Ninja \
cmake --build build
```

The CMake configure step fetches and builds cuDF `26.04.00` from source, including the dependencies managed by cuDF's RAPIDS CMake files. This source-build path requires CMake 3.30.4 or newer and CUDA Toolkit 13.0 or newer. The binary builds in debug mode with full debug symbols by default when `CMAKE_BUILD_TYPE` is not set.
The CMake configure step fetches and builds cuDF from a pinned upstream commit containing `rapidsai/cudf#22620`, including the dependencies managed by cuDF's RAPIDS CMake files. This source-build path requires CMake 3.30.4 or newer and CUDA Toolkit 13.0 or newer. The binary builds in debug mode with full debug symbols by default when `CMAKE_BUILD_TYPE` is not set.

## Links

Expand Down
15 changes: 4 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ set(CMAKE_CUDA_FLAGS_DEBUG "-g -G -O0")

include(FetchContent)
find_package(CUDAToolkit REQUIRED)
find_package(Git REQUIRED)

if(CUDAToolkit_VERSION VERSION_LESS 13.0)
message(FATAL_ERROR "cuDF 26.04.00 source builds require CUDA Toolkit 13.0 or newer")
message(FATAL_ERROR "cuDF source builds require CUDA Toolkit 13.0 or newer")
endif()

foreach(option
Expand All @@ -36,16 +35,10 @@ endforeach()
FetchContent_Declare(
cudf
GIT_REPOSITORY https://github.com/rapidsai/cudf.git
GIT_TAG f9c3cf195768647ac39d98674a614ca414cd1baa
# rapidsai/cudf#22620: fix Arrow Device string-view imports with producer-owned
# ArrowArray.private_data.
GIT_TAG 2a2b126f870bb1d1fdad62ac1c726ccad6001ec6
SOURCE_SUBDIR cpp
# Temporary until cuDF imports external Arrow C Device STRING_VIEW arrays without
# assuming Nanoarrow-owned ArrowArray.private_data. Vortex exports producer-owned
# private_data, which is valid Arrow C data.
PATCH_COMMAND ${CMAKE_COMMAND}
-DGIT_EXECUTABLE=${GIT_EXECUTABLE}
-DSOURCE_DIR=<SOURCE_DIR>
-DPATCH_FILE=${CMAKE_CURRENT_SOURCE_DIR}/patches/cudf-arrow-device-string-view-variadic-buffers.patch
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/apply_patch_once.cmake
)
FetchContent_MakeAvailable(cudf)

Expand Down
45 changes: 0 additions & 45 deletions cmake/apply_patch_once.cmake

This file was deleted.

15 changes: 0 additions & 15 deletions patches/cudf-arrow-device-string-view-variadic-buffers.patch

This file was deleted.

Loading