mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-18 08:55:57 +00:00
Add NVHPC (__PGI) to the list of compilers compatible with system compiler.
See comment by @robertmaynard: https://github.com/pybind/pybind11/pull/5439#issuecomment-2498839010
This commit is contained in:
parent
9acf764740
commit
9fc9515885
@ -29,9 +29,7 @@
|
|||||||
# define PYBIND11_COMPILER_TYPE "_gcc_cygwin"
|
# define PYBIND11_COMPILER_TYPE "_gcc_cygwin"
|
||||||
# elif defined(_MSC_VER)
|
# elif defined(_MSC_VER)
|
||||||
# define PYBIND11_COMPILER_TYPE "_msvc"
|
# define PYBIND11_COMPILER_TYPE "_msvc"
|
||||||
# elif defined(__PGI)
|
# elif defined(__INTEL_COMPILER) || defined(__PGI) || defined(__clang__) || defined(__GNUC__)
|
||||||
# define PYBIND11_COMPILER_TYPE "_pgi"
|
|
||||||
# elif defined(__INTEL_COMPILER) || defined(__clang__) || defined(__GNUC__)
|
|
||||||
# define PYBIND11_COMPILER_TYPE "_system" // Assumed compatible with system compiler.
|
# define PYBIND11_COMPILER_TYPE "_system" // Assumed compatible with system compiler.
|
||||||
# else
|
# else
|
||||||
# error "Unknown PYBIND11_COMPILER_TYPE: PLEASE REVISE THIS CODE."
|
# error "Unknown PYBIND11_COMPILER_TYPE: PLEASE REVISE THIS CODE."
|
||||||
|
Loading…
Reference in New Issue
Block a user