* [Buildroot] [PATCH 0/2] python-numpy: disable for ARCompact
@ 2017-11-09 15:15 Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 1/2] python-numpy: reformat config Evgeniy Didin
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Evgeniy Didin @ 2017-11-09 15:15 UTC (permalink / raw)
To: buildroot
Python-numpy is not compiling for ARCompact due toolchain issue, so
it is necessary to disable this package. Before disabling the layout
of BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS variable should be reconstructed
to more convenient form. First patch reconstucts layout of this variable,
second patch disables python-numpy for ARCompact architecture.
Note this series replaces recently patches which were sent separately.
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot at synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Evgeniy Didin (2):
python-numpy: reformat config
python-numpy: disable for ARCompact
package/python-numpy/Config.in | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
--
2.11.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] python-numpy: reformat config
2017-11-09 15:15 [Buildroot] [PATCH 0/2] python-numpy: disable for ARCompact Evgeniy Didin
@ 2017-11-09 15:15 ` Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 2/2][v2] python-numpy: disable for ARCompact Evgeniy Didin
2017-11-11 22:27 ` [Buildroot] [PATCH 0/2] " Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Evgeniy Didin @ 2017-11-09 15:15 UTC (permalink / raw)
To: buildroot
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 at synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/python-numpy/Config.in | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in
index 859542f584..5abe04bde9 100644
--- a/package/python-numpy/Config.in
+++ b/package/python-numpy/Config.in
@@ -1,9 +1,17 @@
config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
bool
# Numpy has some CPU specific code
- default y if BR2_arc || BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
- || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
- || BR2_sh || BR2_x86_64
+ default y if BR2_arc
+ default y if BR2_aarch64
+ default y if BR2_arm
+ default y if BR2_armeb
+ default y if BR2_i386
+ default y if BR2_mips
+ default y if BR2_mipsel
+ default y if BR2_powerpc
+ default y if BR2_powerpc64
+ default y if BR2_sh
+ default y if BR2_x86_64
config BR2_PACKAGE_PYTHON_NUMPY
bool "python-numpy"
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2][v2] python-numpy: disable for ARCompact
2017-11-09 15:15 [Buildroot] [PATCH 0/2] python-numpy: disable for ARCompact Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 1/2] python-numpy: reformat config Evgeniy Didin
@ 2017-11-09 15:15 ` Evgeniy Didin
2017-11-11 22:27 ` [Buildroot] [PATCH 0/2] " Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Evgeniy Didin @ 2017-11-09 15:15 UTC (permalink / raw)
To: buildroot
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/4c4/4c4eaa90335756448007ae3c5ae3839fb17d4442//
The same compiler error appears building "trousers" package for ARCompact. This package
is already disabled for ARC.
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot at synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v1:
-Removed duplicate entry in BR2_PACKAGE_PYTHON_NUMPY
-Now disables python-numpy accordingly to new format
package/python-numpy/Config.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in
index 5abe04bde9..1405218b1c 100644
--- a/package/python-numpy/Config.in
+++ b/package/python-numpy/Config.in
@@ -1,7 +1,8 @@
config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
bool
# Numpy has some CPU specific code
- default y if BR2_arc
+ # ARC toolchain issues for ARCompact
+ default y if BR2_arc && !(BR2_arc770d || BR2_arc750d)
default y if BR2_aarch64
default y if BR2_arm
default y if BR2_armeb
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 0/2] python-numpy: disable for ARCompact
2017-11-09 15:15 [Buildroot] [PATCH 0/2] python-numpy: disable for ARCompact Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 1/2] python-numpy: reformat config Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 2/2][v2] python-numpy: disable for ARCompact Evgeniy Didin
@ 2017-11-11 22:27 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-11-11 22:27 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 9 Nov 2017 18:15:49 +0300, Evgeniy Didin wrote:
> Evgeniy Didin (2):
> python-numpy: reformat config
> python-numpy: disable for ARCompact
Both applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-11 22:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09 15:15 [Buildroot] [PATCH 0/2] python-numpy: disable for ARCompact Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 1/2] python-numpy: reformat config Evgeniy Didin
2017-11-09 15:15 ` [Buildroot] [PATCH 2/2][v2] python-numpy: disable for ARCompact Evgeniy Didin
2017-11-11 22:27 ` [Buildroot] [PATCH 0/2] " Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.