Compare commits

..

1 Commits

Author SHA1 Message Date
9a1ba5a701
Bootstrap on riscv64 without SciPy
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-30 10:02:07 +02:00

View File

@ -1,6 +1,6 @@
Name: pythran
Version: 0.14.0
Release: 2%{?dist}
Release: 2.0.riscv64%{?dist}
Summary: Ahead of Time Python compiler for numeric kernels
# pythran is BSD
@ -37,15 +37,21 @@ BuildRequires: xsimd-devel >= 8
# For docs
# Avoid building the docs by default on RHEL not to drag pandoc into RHEL:
%ifnarch riscv64
%bcond docs %{undefined rhel}
%else
%bcond docs 0
%endif
%if %{with docs}
BuildRequires: pandoc
%endif
# For tests
%ifnarch riscv64
BuildRequires: python3-pytest
BuildRequires: /usr/bin/python
BuildRequires: python3-scipy
%endif
# these packages are not included in RHEL
%if %{undefined rhel}
@ -117,6 +123,10 @@ rm -rf docs/_build/html/.{doctrees,buildinfo}
%check
%ifarch riscv64
exit 0
%endif
# https://bugzilla.redhat.com/show_bug.cgi?id=1747029#c12
k="not test_numpy_negative_binomial"
%if 0%{?__isa_bits} == 32
@ -170,6 +180,9 @@ k="$k and not test_setup_sdist_install3"
%changelog
* Thu Nov 30 2023 David Abdurachmanov <davidlt@rivosinc.com> - 0.14.0-2.0.riscv64
- Bootstrap on riscv64 without SciPy
* Thu Oct 05 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.14.0-2
- Fix FTBFS: skip tests that need numpy.distutils
- On 32-bit, run tests in serial and skip those that exhaust memory