From 70a22e48bd2222d07e300fd22bb86d894a16059f Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 25 May 2022 21:53:33 -0500 Subject: [PATCH] Test with Thrust 1.17.0-rc2. --- cpp/CMakeLists.txt | 3 +++ cpp/versions.json | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 cpp/versions.json diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index a848660aca..38f69e1810 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -30,6 +30,9 @@ rapids_cuda_init_architectures(RAFT) project(RAFT VERSION 22.08.00 LANGUAGES CXX CUDA) +include(${rapids-cmake-dir}/cpm/package_override.cmake) +rapids_cpm_package_override(${CMAKE_CURRENT_SOURCE_DIR}/versions.json) + # Needed because GoogleBenchmark changes the state of FindThreads.cmake, causing subsequent runs to # have different values for the `Threads::Threads` target. Setting this flag ensures # `Threads::Threads` is the same value in first run and subsequent runs. diff --git a/cpp/versions.json b/cpp/versions.json new file mode 100644 index 0000000000..10dc0afe1b --- /dev/null +++ b/cpp/versions.json @@ -0,0 +1,10 @@ + +{ + "packages" : { + "Thrust" : { + "version" : "1.17.0.0-rc2", + "git_url" : "https://github.com/NVIDIA/thrust.git", + "git_tag" : "1.17.0-rc2" + } + } +}