summaryrefslogtreecommitdiffstats
path: root/package/python-numpy/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* package/python-numpy: fix fenv build failure on ARC with glibcEvgeniy Didin2019-01-141-3/+1
| | | | | | | | | | | | | | | | | | | Building python-numpy on ARC with glibc fails due to missing FE_* definitions in <fenv.h>. These exceptions are not supported by ARC architecture. Let's add patch, which disables compilation of a part of the code in which FE_* errors occur for ARC. ARCompact toolchain issues are already fixed in the latest toolchain. Also since commit "311af5e8c2db887800639bc803c8201b6b70e9ce" ("toolchain/toolchain-buildroot: enable glibc for all little-endian ARCs with atomic ops") glibc is available for ARCompact. That is why in Config.in we are leaving only "BR_arc" and removing comments, which are not actual. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* python-numpy: also disable ARC HS with glibcThomas Petazzoni2017-11-121-2/+3
| | | | | | | | | | | | | Building python-numpy on ARC HS with glibc fails due to missing FE_* definitions in <fenv.h>. Therefore, python-numpy is only available on ARC HS with a C library other than glibc. Fixes: http://autobuild.buildroot.net/results/6b9a3310bb4f8c1fd7db0ef4476458b3eec2bf2e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* python-numpy: remove trailing whitespaceThomas Petazzoni2017-11-121-4/+4
| | | | | | | | | Remove trailing whitespace introduced by commit 855002f22b4795b7ff3e37880c3ed65011cd036c ("python-numpy: reformat BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* python-numpy: disable for ARCompactEvgeniy Didin2017-11-111-1/+2
| | | | | | | | | | | | | | | | | | This package fails when building for ARCompact due to toolchain issue. Marking this with special comment "#ARC toolchain issues for ARCompact" as the package is to be enabled as soon as the issue with the ARC toolchain is resolved. Fixes: http://autobuild.buildroot.net/results/4c4eaa90335756448007ae3c5ae3839fb17d4442/ Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: arc-buildroot@synopsys.com Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: reformat BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTSEvgeniy Didin2017-11-111-3/+11
| | | | | | | | | | | | | Current BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS variable layout going to be inconvenient and ugly for adding new architectures or restricting specific architectures. Lets reformat layout of this variable. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: arc-buildroot@synopsys.com Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: Add support of ARC architectureAlexey Brodkin2017-10-211-1/+1
| | | | | | | | | | | This enables support for ARC cores in numpy. Cherry-picked from https://github.com/numpy/numpy/commit/8edd610ffa3499eea3580f98f296ec80578fba73 Hopefully becomes a part of the next major release (like 1.14). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: introduce ARCH_SUPPORTS hidden variableGwenhael Goavec-Merou2015-10-091-3/+7
| | | | | | | | | | | | | | Some packages selects python-numpy. This package has a some CPU specific code. To simplify and avoid duplicate dependencies this patch introduce an hidden ARCH_SUPPORTS variable. [Thomas: fix the definition of the new option to make sure its value is actually 'y' when a supported architecture is used.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: re-enable for uClibcArnout Vandecappelle2015-10-041-3/+0
| | | | | | | | | | | | | | | | | In commit b0f025386f6861fdc21e38e3a33b65669276f2c2 a patch was added to make sure that python-numpy does work in uClibc. This patch was needed for the x86 architecture, because uClibc in fact does support fenv for x86. However, we don't turn on this support in our uClibc config. Because the Config.in depends still allowed uClibc for x86, this lead to a built failure, which lead to the fix in commit b0f02538. But since this fix also fixes it for all other (supported) architectures, we can just remove the !uClibc dependency completely. This is also propagated to the reverse dependency in opencv3. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: remove duplicate BR2_sh in dependenciesThomas Petazzoni2014-07-181-1/+1
| | | | | Reported-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: disable on non-supported architecturesThomas Petazzoni2014-07-181-0/+4
| | | | | | | | | | | | | The numpy/core/include/numpy/npy_cpu.h file has some architecture-specific definitions, and not all architectures are supported. This commit makes sure python-numpy cannot be selected on the architectures that are not supported. Fixes: http://autobuild.buildroot.org/results/327/327c85f5b1849d390fcf0727cf48e621b946571f/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-numpy: new packageSamuel Martin2014-07-161-0/+13
This patch add NumPy package for python. Since Fortran support has been deprecated in Buildroot since the 2013.11 release, and because most of the external toolchains do not provide a Fortran compiler, it is necessary to explicity disable Fortran compiler to avoid catching the one from the host system if any. We also need to fill a site.cfg file to tell NumPy build-system where it should looking for BLAS and LAPACK libraries. Some packages may include headers provided by python-numpy package, so python-numpy is installed to the staging directory. [Thomas: - add dependency in Config.in to take into account fenv.h requirement, suggested by Yann E. Morin. - modified to use the staging installation logic in the python package infrastructure.] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud