diff --git a/CHANGELOG.md b/CHANGELOG.md index 073864180af..88c9032db6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - PR #6015 Upgrade CUB/Thrust to the latest commit - PR #5971 Add cuStreamz README for basic installation and use - PR #6024 Expose selecting multiple ORC stripes to read from Python +- PR #6155 Use the CUB submodule in Thrust instead of fetching CUB separately - PR #6002 Add Java bindings for md5 - PR #6067 Added compute codes for aarch64 devices - PR #6083 Small cleanup diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index a7799bdfa26..210bb477ae5 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -376,8 +376,7 @@ message(STATUS "BENCHMARK_LIST set to: ${BENCHMARK_LIST}") ################################################################################################### # - include paths --------------------------------------------------------------------------------- -include_directories("${CUB_INCLUDE_DIR}" - "${THRUST_INCLUDE_DIR}" +include_directories("${THRUST_INCLUDE_DIR}" "${JITIFY_INCLUDE_DIR}" "${LIBCUDACXX_INCLUDE_DIR}") diff --git a/cpp/benchmarks/CMakeLists.txt b/cpp/benchmarks/CMakeLists.txt index 502cf3b782d..07d2f60fe9c 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -22,8 +22,7 @@ endfunction(ConfigureBench) ################################################################################################### # - include paths --------------------------------------------------------------------------------- -include_directories("${CUB_INCLUDE_DIR}" - "${THRUST_INCLUDE_DIR}" +include_directories("${THRUST_INCLUDE_DIR}" "${JITIFY_INCLUDE_DIR}" "${LIBCUDACXX_INCLUDE_DIR}") diff --git a/cpp/tests/CMakeLists.txt b/cpp/tests/CMakeLists.txt index c5b02b3a189..d703f4bcde9 100644 --- a/cpp/tests/CMakeLists.txt +++ b/cpp/tests/CMakeLists.txt @@ -58,8 +58,7 @@ endfunction(ConfigureTest) ################################################################################################### # - include paths --------------------------------------------------------------------------------- -include_directories("${CUB_INCLUDE_DIR}" - "${THRUST_INCLUDE_DIR}" +include_directories("${THRUST_INCLUDE_DIR}" "${JITIFY_INCLUDE_DIR}" "${LIBCUDACXX_INCLUDE_DIR}") diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index b7a57a557ff..f8f3457e84f 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -1,26 +1,7 @@ include(FetchContent) ################################################################################################### -# - cub ------------------------------------------------------------------------------------------- - -message("Fetching CUB") - -FetchContent_Declare( - cub - GIT_REPOSITORY https://github.com/thrust/cub.git - # August 28, 2020 - GIT_TAG 2442f44532ffcc53298c7e3a298feb5134563860 -) - -FetchContent_GetProperties(cub) -if(NOT cub_POPULATED) - FetchContent_Populate(cub) - # We are not using the cub CMake targets, so no need to call `add_subdirectory()`. -endif() -set(CUB_INCLUDE_DIR "${cub_SOURCE_DIR}" PARENT_SCOPE) - -################################################################################################### -# - thrust ---------------------------------------------------------------------------------------- +# - thrust/cub ------------------------------------------------------------------------------------ message("Fetching Thrust")