Disable test_float on riscv64
See: https://github.com/numpy/numpy/issues/8213 Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
7d8da3516f
commit
a05440f925
11
numpy.spec
11
numpy.spec
|
@ -20,7 +20,7 @@
|
|||
|
||||
Name: numpy
|
||||
Version: 1.19.4
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Epoch: 1
|
||||
Summary: A fast multidimensional array facility for Python
|
||||
|
||||
|
@ -148,9 +148,15 @@ ln -s %{python3_sitearch}/%{name}/core/include/numpy/ %{buildroot}%{_includedir}
|
|||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%ifarch ppc64le riscv64
|
||||
%ifarch ppc64le
|
||||
# https://github.com/numpy/numpy/issues/14357
|
||||
python3 runtests.py -- -k 'not test_einsum_sums_cfloat64'
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
# https://github.com/numpy/numpy/issues/8213
|
||||
python3 runtests.py -- -k 'not test_float'
|
||||
%endif
|
||||
%else
|
||||
python3 runtests.py
|
||||
%endif
|
||||
|
@ -194,6 +200,9 @@ python3 runtests.py
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 01 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1:1.19.4-1.0.riscv64
|
||||
- Disable test_float test on riscv64
|
||||
|
||||
* Tue Nov 03 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.19.4-1
|
||||
- 1.19.4
|
||||
|
||||
|
|
Loading…
Reference in New Issue