From 2912dbe6117b39171d64074b65b62dffc60e5487 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 15 Oct 2021 15:27:17 +0300 Subject: [PATCH] Enable riscv64 Signed-off-by: David Abdurachmanov --- python3.11.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/python3.11.spec b/python3.11.spec index 52e8d71..b654414 100644 --- a/python3.11.spec +++ b/python3.11.spec @@ -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 - 3.11.0~a1-1.0.riscv64 +- Enable riscv64 + * Wed Oct 06 2021 Tomáš Hrnčiar - 3.11.0~a1-1 - Initial Python 3.11 package forked from Python 3.10