summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Heinzeller <dom.heinzeller@icloud.com>2023-12-31 05:47:23 -0700
committerGitHub <noreply@github.com>2023-12-31 06:47:23 -0600
commitf42d8bf3e77f9aab333e2b66a6d44c1c716948d2 (patch)
tree9939a0832241e2f6fef7261359e50dda1b9eb0d3
parentd2462fb0af50ca5a87ae4d2aef700eb314a1e373 (diff)
downloadspack-f42d8bf3e77f9aab333e2b66a6d44c1c716948d2.tar.gz
spack-f42d8bf3e77f9aab333e2b66a6d44c1c716948d2.tar.bz2
spack-f42d8bf3e77f9aab333e2b66a6d44c1c716948d2.tar.xz
spack-f42d8bf3e77f9aab333e2b66a6d44c1c716948d2.zip
Bug fix in py-gevent to build with intel/oneapi compilers (#41896)
-rw-r--r--var/spack/repos/builtin/packages/py-gevent/package.py2
1 files changed, 2 insertions, 0 deletions
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)