Skip to content

No when_all_fail test with NVHPC#2025

Open
dkolsen-pgi wants to merge 1 commit intoNVIDIA:mainfrom
dkolsen-pgi:when_all_fail
Open

No when_all_fail test with NVHPC#2025
dkolsen-pgi wants to merge 1 commit intoNVIDIA:mainfrom
dkolsen-pgi:when_all_fail

Conversation

@dkolsen-pgi
Copy link
Copy Markdown
Contributor

When building with NVHPC, CMake is not configured for CUDA. The fact that newly added test when_all_fail was set up with "LANGUAGE CUDA" was causing CMake failures when the compiler was NVHPC.

To fix this, put the definition of test when_all_fail inside an

	if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "NVHPC"))

block.

When building with NVHPC, CMake is not configured for CUDA.  The fact
that newly added test when_all_fail was set up with "LANGUAGE CUDA" was
causing CMake failures when the compiler was NVHPC.

To fix this, put the definition of test when_all_fail inside an
	if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "NVHPC"))
block.
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 14, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler
Copy link
Copy Markdown
Collaborator

but why? nvc++ is passing this test in CI. i took special care to make it so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants