Merge pull request #5765 from martin-frbg/issue5764

Disable gcc-specific version checks for NVIDIA HPC in CMake builds
This commit is contained in:
Martin Kroeker
2026-04-21 14:33:11 +02:00
committed by GitHub
+1
View File
@@ -113,6 +113,7 @@ if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI")
endif ()
if (${CMAKE_C_COMPILER_ID} STREQUAL "NVHPC")
set (GCC_VERSION 100)
if (POWER)
set(CCOMMON_OPT "${CCOMMON_OPT} -tp pwr8")
elseif (X86_64)