Bug fix in py-gevent to build with intel/oneapi compilers (#41896)

This commit is contained in:
Dom Heinzeller 2023-12-31 05:47:23 -07:00 committed by GitHub
parent d2462fb0af
commit f42d8bf3e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,4 +56,6 @@ def flag_handler(self, name, flags):
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)