py-pandas@0.24.2 %oneapi: add cflag=-Wno-error=implicit-function-declaration (#39470)

This commit is contained in:
eugeneswalker 2023-10-01 13:42:56 -07:00 committed by GitHub
parent 2d509dc3eb
commit b09073e01e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,3 +136,9 @@ class PyPandas(PythonPackage):
depends_on("py-setuptools@24.2:", when="@:1.2", type="build") depends_on("py-setuptools@24.2:", when="@:1.2", type="build")
skip_modules = ["pandas.tests", "pandas.plotting._matplotlib", "pandas.core._numba.kernels"] skip_modules = ["pandas.tests", "pandas.plotting._matplotlib", "pandas.core._numba.kernels"]
def flag_handler(self, name, flags):
if name == "cflags":
if self.spec.satisfies("@0.24.2 %oneapi"):
flags.append("-Wno-error=implicit-function-declaration")
return (flags, None, None)