Add NVHPC (nvc++) compiler support and CI build/test jobs

libeigen/eigen!2186

Closes #3032

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
Rasmus Munk Larsen
2026-02-23 18:51:15 -08:00
parent f3f2c676b5
commit 241af1c0ba
5 changed files with 43 additions and 6 deletions

View File

@@ -34,7 +34,9 @@
/* --- To print date and time of compilation of current source on stdout --- */
#if defined(__GNUC__)
#if defined(__NVCOMPILER)
#define COMPILER "nvc++";
#elif defined(__GNUC__)
#define COMPILER "g++";
#elif defined(__sun)
#define COMPILER "CC";