From a58439866de86b14544bbb37ee159028742ca40c Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 26 Nov 2024 00:07:06 -0800 Subject: [PATCH] Revert "Add NVHPC (__PGI) to the list of compilers compatible with system compiler." This reverts commit 9fc951588594c48d4bfd440cd985ffee7be57ae4. --- include/pybind11/conduit/pybind11_platform_abi_id.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/pybind11/conduit/pybind11_platform_abi_id.h b/include/pybind11/conduit/pybind11_platform_abi_id.h index d1f22329a..1481d6e4d 100644 --- a/include/pybind11/conduit/pybind11_platform_abi_id.h +++ b/include/pybind11/conduit/pybind11_platform_abi_id.h @@ -29,7 +29,9 @@ # define PYBIND11_COMPILER_TYPE "_gcc_cygwin" # elif defined(_MSC_VER) # define PYBIND11_COMPILER_TYPE "_msvc" -# elif defined(__INTEL_COMPILER) || defined(__PGI) || defined(__clang__) || defined(__GNUC__) +# elif defined(__PGI) +# define PYBIND11_COMPILER_TYPE "_pgi" +# elif defined(__INTEL_COMPILER) || defined(__clang__) || defined(__GNUC__) # define PYBIND11_COMPILER_TYPE "_system" // Assumed compatible with system compiler. # else # error "Unknown PYBIND11_COMPILER_TYPE: PLEASE REVISE THIS CODE."