mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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>
This commit is contained in:
parent
bcb8ef0fdc
commit
76815cd1e5
@ -14,6 +14,8 @@ PYTHON_NUMPY_SETUP_TYPE = setuptools
|
|||||||
ifeq ($(BR2_PACKAGE_CLAPACK),y)
|
ifeq ($(BR2_PACKAGE_CLAPACK),y)
|
||||||
PYTHON_NUMPY_DEPENDENCIES += clapack
|
PYTHON_NUMPY_DEPENDENCIES += clapack
|
||||||
PYTHON_NUMPY_SITE_CFG_LIBS += blas lapack
|
PYTHON_NUMPY_SITE_CFG_LIBS += blas lapack
|
||||||
|
else
|
||||||
|
PYTHON_NUMPY_ENV += BLAS=None LAPACK=None
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None
|
PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user