]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-numpy: also disable ARC HS with glibc
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 12 Nov 2017 14:17:51 +0000 (15:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 12 Nov 2017 16:53:17 +0000 (17:53 +0100)
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>
package/python-numpy/Config.in

index aa47087d284ccb5e83eec2f986e13697742bf4da..067085bf415a5eb1d0f8c5586521d18cfe76825d 100644 (file)
@@ -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