python-numpy: fix build with lapack
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 28 Nov 2018 16:51:02 +0000 (17:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 29 Nov 2018 20:29:30 +0000 (21:29 +0100)
commit76815cd1e556816f885d817576d83df67f579612
tree0262e27bb172ea5cab715f7a0533d1dcc800d005
parentbcb8ef0fdcea6f60fefba8368b4c93048e837141
python-numpy: fix build with lapack

If BR2_PACKAGE_LAPACK is enabled (without BR2_PACKAGE_CLAPACK), build of
python-numpy will fail if lapack is built before python-numpy because
lapack does not provide blas library

So disable BLAS and LAPACK through PYTHON_NUMPTY_ENV if
BR2_PACKAGE_CLAPACK is not set

Fixes:
 - http://autobuild.buildroot.org/results/41671976c7be7883f31ee5f51ca0eb90b81262fd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-numpy/python-numpy.mk