From f42d8bf3e77f9aab333e2b66a6d44c1c716948d2 Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Sun, 31 Dec 2023 05:47:23 -0700 Subject: Bug fix in py-gevent to build with intel/oneapi compilers (#41896) --- var/spack/repos/builtin/packages/py-gevent/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/py-gevent/package.py b/var/spack/repos/builtin/packages/py-gevent/package.py index c4e8b1b753..a8aee9a9b3 100644 --- a/var/spack/repos/builtin/packages/py-gevent/package.py +++ b/var/spack/repos/builtin/packages/py-gevent/package.py @@ -56,4 +56,6 @@ class PyGevent(PythonPackage): if name == "cflags": if self.spec.satisfies("%oneapi@2023:"): flags.append("-Wno-error=incompatible-function-pointer-types") + if self.spec.compiler.name in ["intel", "oneapi"]: + flags.append("-we147") return (flags, None, None) -- cgit v1.2.3-70-g09d2