PKGNAME=scipy
PKGSEC=python
PKGDEP="python-3 numpy pillow pybind11"
BUILDDEP="python-build meson meson-python cython pythran llvm"
PKGDES="Open-source software for mathematics, science, and engineering"

AB_FLAGS_SPECS=0
ABTYPE=pep517
ABSPLITDBG=0
NOPYTHON2=1

# scipy has to be linked with numpy (which is built with LLVM + LTO)
USECLANG=0
NOSTATIC=1

# FIXME: GCC ICE
NOLTO=1
