Enable riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
e098f22b88
commit
6c3024f6b1
18
scipy.spec
18
scipy.spec
@ -4,7 +4,7 @@
|
||||
# Pythran is an optional build dependency.
|
||||
# When used, it makes some modules faster,
|
||||
# but it is usually not available soon enough for new major Python versions.
|
||||
%ifarch i686 armv7hl
|
||||
%ifarch i686 armv7hl riscv64
|
||||
# It seems pythran is broken on 32-bit arches, disable it
|
||||
%bcond_with pythran
|
||||
%else
|
||||
@ -25,7 +25,7 @@
|
||||
Summary: Scientific Tools for Python
|
||||
Name: scipy
|
||||
Version: 1.11.1
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
|
||||
# BSD -- whole package except:
|
||||
# Boost -- scipy/special/cephes/scipy_iv.c
|
||||
@ -224,6 +224,17 @@ not test_resiliency_random[TestCSC-test_sum_dtype]'"
|
||||
|
||||
%endif
|
||||
|
||||
%ifarch riscv64
|
||||
export PYTEST_ADDOPTS="-k '$SKIP_ALL and \
|
||||
not TestSchur and \
|
||||
not test_gejsv_general and \
|
||||
not test_kendall_p_exact_large and \
|
||||
not test_gejsv_edge_arguments and \
|
||||
not test_gh12999 and \
|
||||
not test_gejsv_NAG'"
|
||||
TIMEOUT=1000
|
||||
%endif
|
||||
|
||||
pushd %{buildroot}/%{python3_sitearch}
|
||||
%{pytest} --timeout=${TIMEOUT} scipy %{?!rhel:--numprocesses=auto}
|
||||
# Remove test remnants
|
||||
@ -253,6 +264,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Nov 06 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1.11.1-1.0.riscv64
|
||||
- Enable riscv64
|
||||
|
||||
* Wed Jul 12 2023 psimovec <psimovec@redhat.com> - 1.11.1-1
|
||||
- New upstream release 1.11.1
|
||||
resolves: #2211813
|
||||
|
Loading…
Reference in New Issue
Block a user