From 855002f22b4795b7ff3e37880c3ed65011cd036c Mon Sep 17 00:00:00 2001 From: Evgeniy Didin Date: Thu, 9 Nov 2017 18:15:50 +0300 Subject: python-numpy: reformat BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS 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 Cc: Alexey Brodkin Cc: arc-buildroot@synopsys.com Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- package/python-numpy/Config.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'package/python-numpy') 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" -- cgit v1.2.3 From 636f4d81ff4be52dc7818c51b9d479a9cb6ecea1 Mon Sep 17 00:00:00 2001 From: Evgeniy Didin Date: Thu, 9 Nov 2017 18:15:51 +0300 Subject: python-numpy: disable for ARCompact 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 Cc: Alexey Brodkin Cc: arc-buildroot@synopsys.com Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- package/python-numpy/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/python-numpy') 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 -- cgit v1.2.3 From 1b9c562dfdac123e707dc8283338b11b24832ba7 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 12 Nov 2017 15:17:50 +0100 Subject: python-numpy: remove trailing whitespace Remove trailing whitespace introduced by commit 855002f22b4795b7ff3e37880c3ed65011cd036c ("python-numpy: reformat BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS") Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/python-numpy/Config.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/python-numpy') diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in index 1405218b1c..aa47087d28 100644 --- a/package/python-numpy/Config.in +++ b/package/python-numpy/Config.in @@ -4,14 +4,14 @@ config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # 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_arm default y if BR2_armeb - default y if BR2_i386 + 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_powerpc64 + default y if BR2_sh default y if BR2_x86_64 config BR2_PACKAGE_PYTHON_NUMPY -- cgit v1.2.3 From 1c0c55c0288775d8139facbacf651c67ecd397ba Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 12 Nov 2017 15:17:51 +0100 Subject: python-numpy: also disable ARC HS with glibc Building python-numpy on ARC HS with glibc fails due to missing FE_* definitions in . 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 Signed-off-by: Peter Korsgaard --- package/python-numpy/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package/python-numpy') diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in index aa47087d28..067085bf41 100644 --- a/package/python-numpy/Config.in +++ b/package/python-numpy/Config.in @@ -1,8 +1,9 @@ config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS bool # Numpy has some CPU specific code - # ARC toolchain issues for ARCompact - default y if BR2_arc && !(BR2_arc770d || BR2_arc750d) + # ARCompact build fails due to toolchain issue + # ARC HS38 build fails on glibc due to missing FE_* definitions + default y if BR2_arc && BR2_archs38 && !BR2_TOOLCHAIN_USES_GLIBC default y if BR2_aarch64 default y if BR2_arm default y if BR2_armeb -- cgit v1.2.3