[Buildroot] [PATCHv5 3/3] package/python-numpy: fix occasional build and run-time failure with lapack

Alexandre PAYEN alexandre.payen at smile.fr
Mon Jul 15 12:27:02 UTC 2019


Please, ignore this mail, it's a mistake.


Le lun. 15 juil. 2019 à 14:22, Aalx <alexandre.payen at smile.fr> a écrit :

> From: Alexandre PAYEN <alexandre.payen at smile.fr>
>
> With the virtual packet liblapack, numpy can be build using both providers.
> Due to run-time failure when complex option is enable,
> the cblas reference must be add when :
> BR2_PACKAGE_LAPACK_COMPLEX = y
>
> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
> Signed-off-by: Alexandre PAYEN <alexandre.payen at smile.fr>
> ---
>  package/python-numpy/python-numpy.mk | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/package/python-numpy/python-numpy.mk b/package/python-numpy/
> python-numpy.mk
> index b90ff7d70f..30db0b3797 100644
> --- a/package/python-numpy/python-numpy.mk
> +++ b/package/python-numpy/python-numpy.mk
> @@ -18,6 +18,9 @@ PYTHON_NUMPY_SETUP_TYPE = setuptools
>  ifeq ($(BR2_PACKAGE_CLAPACK),y)
>  PYTHON_NUMPY_DEPENDENCIES += clapack
>  PYTHON_NUMPY_SITE_CFG_LIBS += cblas clapack
> +else ifeq ($(BR2_PACKAGE_LAPACK_COMPLEX),y)
> +PYTHON_NUMPY_DEPENDENCIES += lapack
> +PYTHON_NUMPY_SITE_CFG_LIBS += blas cblas lapack
>  else
>  PYTHON_NUMPY_ENV += BLAS=None LAPACK=None
>  endif
> --
> 2.21.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190715/55a12599/attachment.html>


More information about the buildroot mailing list