mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/python-numpy: add reverse dependency on packages using python-numpy
Since commit 1aa59097e61d524bb55ab1fcd4fbe5098b3e0bed[1] is merged, a
new build failure occurs when selecting packages which needs
python-numpy as dependency.
This fix a build issue[2] by adding the correct reverse dependencies
to the following packages :
- gnuradio (for python support)
- opencv3 (for python support)
- piglit
- python-matplotlib
So :
- adding to every listed packages
`depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)`
and add a comment to explain what happend.
[1] https://git.buildroot.net/buildroot/commit/?id=1aa59097e61d524bb55ab1fcd4fbe5098b3e0bed
[2] http://autobuild.buildroot.org/results/b76/b76b6cf9602bcf5df69a7276762eab54cf74007b
Signed-off-by: Alexandre PAYEN <alexandre.payen@smile.fr>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Damien DUVAL <damien.duval@smile.fr>
Cc: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 7a546b87d5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
a48b1f0f58
commit
a236e8fb36
@@ -66,11 +66,15 @@ config BR2_PACKAGE_GNURADIO_PYTHON
|
|||||||
bool "python support"
|
bool "python support"
|
||||||
depends on BR2_PACKAGE_PYTHON
|
depends on BR2_PACKAGE_PYTHON
|
||||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||||
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
||||||
select BR2_PACKAGE_BOOST_PYTHON
|
select BR2_PACKAGE_BOOST_PYTHON
|
||||||
select BR2_PACKAGE_PYTHON_NUMPY # runtime
|
select BR2_PACKAGE_PYTHON_NUMPY # runtime
|
||||||
help
|
help
|
||||||
Enable python component
|
Enable python component
|
||||||
|
|
||||||
|
comment "python support needs glibc or musl"
|
||||||
|
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|
||||||
|
|
||||||
config BR2_PACKAGE_GNURADIO_UTILS
|
config BR2_PACKAGE_GNURADIO_UTILS
|
||||||
bool "gr-utils support"
|
bool "gr-utils support"
|
||||||
depends on BR2_PACKAGE_GNURADIO_PYTHON
|
depends on BR2_PACKAGE_GNURADIO_PYTHON
|
||||||
|
|||||||
@@ -157,11 +157,15 @@ config BR2_PACKAGE_OPENCV3_LIB_PYTHON
|
|||||||
bool "python"
|
bool "python"
|
||||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||||
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
||||||
select BR2_PACKAGE_PYTHON_NUMPY
|
select BR2_PACKAGE_PYTHON_NUMPY
|
||||||
help
|
help
|
||||||
Include opencv_python module into the OpenCV build. No
|
Include opencv_python module into the OpenCV build. No
|
||||||
python example is installed.
|
python example is installed.
|
||||||
|
|
||||||
|
comment "python support needs glibc or musl"
|
||||||
|
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENCV3_LIB_SHAPE
|
config BR2_PACKAGE_OPENCV3_LIB_SHAPE
|
||||||
bool "shape"
|
bool "shape"
|
||||||
# opencv_core dependency is already enabled
|
# opencv_core dependency is already enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user