Enable riscv64

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2021-10-15 15:27:17 +03:00
parent cf1cfe95f8
commit 2912dbe611
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 13 additions and 2 deletions

View File

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel a1
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: Python
@ -1072,7 +1072,12 @@ CheckPython() {
# https://bugs.python.org/issue45402
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
-wW --slowest -j0 --timeout=1800 \
-wW --slowest -j0 \
%ifnarch riscv64
--timeout=1800 \
%else
--timeout=18000 \
%endif
-i test_sundry \
-i test_name_error_suggestions_do_not_trigger_for_too_many_locals \
%if %{with bootstrap}
@ -1081,6 +1086,9 @@ CheckPython() {
%ifarch %{mips64}
-x test_ctypes \
%endif
%ifarch riscv64
-x test_gdb \
%endif
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
@ -1601,5 +1609,8 @@ CheckPython optimized
# ======================================================
%changelog
* Fri Oct 15 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.11.0~a1-1.0.riscv64
- Enable riscv64
* Wed Oct 06 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.0~a1-1
- Initial Python 3.11 package forked from Python 3.10