Skip to content

Commit 9fc9515

Browse files
committed
Add NVHPC (__PGI) to the list of compilers compatible with system compiler.
See comment by @robertmaynard: #5439 (comment)
1 parent 9acf764 commit 9fc9515

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/pybind11/conduit/pybind11_platform_abi_id.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
# define PYBIND11_COMPILER_TYPE "_gcc_cygwin"
3030
# elif defined(_MSC_VER)
3131
# define PYBIND11_COMPILER_TYPE "_msvc"
32-
# elif defined(__PGI)
33-
# define PYBIND11_COMPILER_TYPE "_pgi"
34-
# elif defined(__INTEL_COMPILER) || defined(__clang__) || defined(__GNUC__)
32+
# elif defined(__INTEL_COMPILER) || defined(__PGI) || defined(__clang__) || defined(__GNUC__)
3533
# define PYBIND11_COMPILER_TYPE "_system" // Assumed compatible with system compiler.
3634
# else
3735
# error "Unknown PYBIND11_COMPILER_TYPE: PLEASE REVISE THIS CODE."

0 commit comments

Comments
 (0)