-
Notifications
You must be signed in to change notification settings - Fork 353
Description
Is this a duplicate?
- I confirmed there appear to be no duplicate issues for this bug and that I agree to the Code of Conduct
Type of Bug
Compile-time Error
Component
Thrust
Describe the bug
When pulling CCCL through Cmake's Fetchcontent, I started getting this message:
-- Git command found: /usr/bin/git
-- Finding CCCL components: Thrust;CUB;libcudacxx
-- Found CUB: /builds/correaa/boost-multi/build/_deps/cccl-cmake-src/lib/cmake/cub/cub-config.cmake (found suitable version "3.3.0.0", minimum required is "3.3.0.0")
CMake Error at build/_deps/cccl-cmake-src/lib/cmake/libcudacxx/libcudacxx-config.cmake:158 (define_property):
define_property not given a BRIEF_DOCS <brief-doc> argument.
Call Stack (most recent call first):
build/_deps/cccl-cmake-src/lib/cmake/libcudacxx/libcudacxx-config.cmake:245 (libcudacxx_update_language_compat_flags)
build/_deps/cccl-cmake-src/lib/cmake/thrust/thrust-config.cmake:943 (find_package)
build/_deps/cccl-cmake-src/lib/cmake/cccl/cccl-config.cmake:77 (find_package)
build/_deps/cccl-cmake-src/cmake/CCCLAddSubdirHelper.cmake:64 (include)
build/_deps/cccl-cmake-src/cmake/CCCLAddSubdir.cmake:1 (cccl_add_subdir_helper)
build/_deps/cccl-cmake-src/CMakeLists.txt:24 (include)
All the details are here:
https://gitlab.com/correaa/boost-multi/-/jobs/12307373426#L222
This is the code in CmakeLists.txt:
include(FetchContent)
FetchContent_Declare(
cccl-cmake
GIT_REPOSITORY https://github.com/NVIDIA/cccl.git
GIT_TAG main
GIT_SHALLOW ON
)
FetchContent_MakeAvailable(cccl-cmake)
How to Reproduce
In a nvhpc system (e.g. 23.11)
$ git clone https://gitlab.com/correaa/boost-multi.git
$ cd boost-multi
$ mkdir build; cd build
$ CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/2023/compilers/bin/nvc++ cmake ..
Expected behavior
cmake should pull and configure CCCL
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done