Skip to content

[BUG]: CMake fails when using nvc++ as a c++ compiler #4232

@zkhatami

Description

@zkhatami

Is this a duplicate?

Type of Bug

Something else

Component

Thrust

Describe the bug

After this commit:
4f5c287

when using nvc++ as a c++ compiler, CMake fails with this error:

CMake Error at cmake/CCCLBuildCompilerTargets.cmake:34 (message):
  CCCL developer builds require that CMAKE_CUDA_HOST_COMPILER exactly matches
  CMAKE_CXX_COMPILER when using nvcc:

How to Reproduce

cmake /path/to/cccl

Expected behavior

To see thrust tests/examples being pulled and passed successfully.

Reproduction link

No response

Operating System

No response

nvidia-smi output

No response

NVCC version

No response

Metadata

Metadata

Assignees

Labels

needs infoCannot make progress without more information.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions