From 3fec3d89bc6769a328ca226432e456f85a75609e Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Fri, 20 Aug 2021 15:15:51 -0500 Subject: [PATCH] Fetch rapids-cmake to work around cuCollection cmake issue (#9075) Fixes #9073. Adds explicit fetching of rapids-cmake v21.10 to work around build issues outside of the conda environment caused by https://github.com/NVIDIA/cuCollections/pull/104. Authors: - Jason Lowe (https://github.com/jlowe) Approvers: - Robert Maynard (https://github.com/robertmaynard) - Alessandro Bellina (https://github.com/abellina) URL: https://github.com/rapidsai/cudf/pull/9075 --- cpp/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 6a972891958..3eee1147414 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -28,6 +28,17 @@ elseif(CMAKE_CUDA_ARCHITECTURES STREQUAL "") set(CUDF_BUILD_FOR_DETECTED_ARCHS TRUE) endif() +file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-21.10/RAPIDS.cmake + ${CMAKE_BINARY_DIR}/RAPIDS.cmake) +include(${CMAKE_BINARY_DIR}/RAPIDS.cmake) + +include(rapids-cmake) +include(rapids-cpm) +include(rapids-cuda) +include(rapids-export) +include(rapids-find) + + project(CUDF VERSION 21.10.00 LANGUAGES C CXX) # Needed because GoogleBenchmark changes the state of FindThreads.cmake,