Skip to content

Commit

Permalink
DO NOT MERGE: Testing cccl branch/v2.3.0 with msvc fix backported - b…
Browse files Browse the repository at this point in the history
…ut not cmake
  • Loading branch information
ptheywood committed Dec 14, 2023
1 parent e947497 commit 1f8ac42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/dependencies/CCCL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ find_package(CUDAToolkit REQUIRED)
# Quietly find CCCL, to check if the version included with CUDA (if CCCL) is sufficiently new.
# Using CCCL avoids complex cub/thrust version workarounds previously required.
# However we cannot find thrust due to a missing guard in CCCL's cmake config file, and cannot find cub without finding libcudacxx, so just find libcudacxx quietly.
# If/when we change the minimum CCCL to 2.3.0 we should be able to remove the `components libcudacxx`.
# The fix for this was merged in upstream, but unclear if for the 2.3.x or 2.4.x release we should be able to remove the `components libcudacxx`.
find_package(CCCL ${MIN_REQUIRED_CCCL_VERSION} QUIET COMPONENTS libcudacxx CONFIG HINTS ${CUDAToolkit_INCLUDE_DIRS} ${CUDAToolkit_LIBRARY_DIR}/cmake)

# If CCCL was found, find it again but loudly (with all components)
Expand All @@ -32,7 +32,7 @@ else()
cccl
GIT_REPOSITORY https://github.com/NVIDIA/CCCL.git
GIT_TAG ${CCCL_DOWNLOAD_TAG}
GIT_SHALLOW 1
GIT_SHALLOW 0 # @todo - set this back to 1.
GIT_PROGRESS ON
# UPDATE_DISCONNECTED ON
)
Expand Down

0 comments on commit 1f8ac42

Please sign in to comment.