package/python-numpy: fix fenv build failure on ARC with glibc
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>
Mon, 14 Jan 2019 15:43:16 +0000 (18:43 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 14 Jan 2019 20:40:04 +0000 (21:40 +0100)
commitb1056f16f448f30b8642f83c7500d6d809ab9ac3
treead7cb804c33334efa9bf6ab9e6b601d52f805235
parente1cb28a9498078139b099b50580e554dc4e2087f
package/python-numpy: fix fenv build failure on ARC with glibc

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>
package/python-numpy/0003-no-FPU-exceptions-bits-on-ARC-glibc.patch [new file with mode: 0644]
package/python-numpy/Config.in