From a5d0a1835edcf93e874638c799bbd995e44170f6 Mon Sep 17 00:00:00 2001 From: U2FsdGVkX1 Date: Wed, 13 Nov 2024 20:17:42 +0800 Subject: [PATCH] Increase the timeout for riscv64 because the current RISC-V CPU has slower performance. --- python3.13.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python3.13.spec b/python3.13.spec index 4cf7517..bee5a28 100644 --- a/python3.13.spec +++ b/python3.13.spec @@ -1255,7 +1255,12 @@ CheckPython() { # freethreading{,-debug} build, skipping it to shorten the build time # see: https://github.com/python/cpython/issues/121719 LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \ - -wW --slowest %{_smp_mflags} --timeout=2700 \ + -wW --slowest %{_smp_mflags} \ + %ifarch riscv64 + --timeout=8100 \ + %else + --timeout=2700 \ + %endif -i test_freeze_simple_script \ -i test_check_probes \ %ifarch %{mips64}