aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-28 17:51:02 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-12-03 23:19:12 +0100
commite7daab236ead9f57a9e382709428eebb239d4d2c (patch)
tree4fb92a40597d87b5e7cbcbbcf12f09ebf57a8f2b
parent194c8e543ef9a87407d4c2d5fc3027e221f65e6e (diff)
downloadbuildroot-e7daab236ead9f57a9e382709428eebb239d4d2c.tar.gz
buildroot-e7daab236ead9f57a9e382709428eebb239d4d2c.tar.bz2
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> (cherry picked from commit 76815cd1e556816f885d817576d83df67f579612) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/python-numpy/python-numpy.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/python-numpy/python-numpy.mk b/package/python-numpy/python-numpy.mk
index d0d38371a3..14671ae2da 100644
--- a/package/python-numpy/python-numpy.mk
+++ b/package/python-numpy/python-numpy.mk
@@ -14,6 +14,8 @@ PYTHON_NUMPY_SETUP_TYPE = setuptools
ifeq ($(BR2_PACKAGE_CLAPACK),y)
PYTHON_NUMPY_DEPENDENCIES += clapack
PYTHON_NUMPY_SITE_CFG_LIBS += blas lapack
+else
+PYTHON_NUMPY_ENV += BLAS=None LAPACK=None
endif
PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None