diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2023-10-01 13:42:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-01 14:42:56 -0600 |
commit | b09073e01e27fa356c6dc626b8cb0892280af30a (patch) | |
tree | 9cab15913bad5a487eb0aaa1b5cfead39354e1f0 /var | |
parent | 2d509dc3eb3da4129d396024e3a475fc0fdbfe94 (diff) | |
download | spack-b09073e01e27fa356c6dc626b8cb0892280af30a.tar.gz spack-b09073e01e27fa356c6dc626b8cb0892280af30a.tar.bz2 spack-b09073e01e27fa356c6dc626b8cb0892280af30a.tar.xz spack-b09073e01e27fa356c6dc626b8cb0892280af30a.zip |
py-pandas@0.24.2 %oneapi: add cflag=-Wno-error=implicit-function-declaration (#39470)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pandas/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py index f03607582c..e7ed9e7e60 100644 --- a/var/spack/repos/builtin/packages/py-pandas/package.py +++ b/var/spack/repos/builtin/packages/py-pandas/package.py @@ -136,3 +136,9 @@ class PyPandas(PythonPackage): depends_on("py-setuptools@24.2:", when="@:1.2", type="build") 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) |