Skip to content

Commit

Permalink
Add NVHPC (__PGI) to the list of compilers compatible with system com…
Browse files Browse the repository at this point in the history
…piler.

See comment by @robertmaynard: #5439 (comment)
  • Loading branch information
rwgk committed Nov 25, 2024
1 parent 9acf764 commit 9fc9515
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/pybind11/conduit/pybind11_platform_abi_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
# define PYBIND11_COMPILER_TYPE "_gcc_cygwin"
# elif defined(_MSC_VER)
# define PYBIND11_COMPILER_TYPE "_msvc"
# elif defined(__PGI)
# define PYBIND11_COMPILER_TYPE "_pgi"
# elif defined(__INTEL_COMPILER) || defined(__clang__) || defined(__GNUC__)
# elif defined(__INTEL_COMPILER) || defined(__PGI) || defined(__clang__) || defined(__GNUC__)
# define PYBIND11_COMPILER_TYPE "_system" // Assumed compatible with system compiler.
# else
# error "Unknown PYBIND11_COMPILER_TYPE: PLEASE REVISE THIS CODE."
Expand Down

0 comments on commit 9fc9515

Please sign in to comment.