Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov daf8e384e0
Merge remote-tracking branch 'up/f38' into f38-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-06-14 12:00:59 +03:00
David Abdurachmanov a17cf3c0f4
Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-05-27 08:43:12 +03:00
1 changed files with 15 additions and 2 deletions

View File

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b2
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: Python-2.0.1
@ -1147,8 +1147,16 @@ CheckPython() {
# we don't ship it in the RPM package.
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
-wW --slowest %{_smp_mflags} --timeout=2700 \
-wW --slowest %{_smp_mflags} \
%ifnarch riscv64
--timeout=2700 \
%else
--timeout=27000 \
%endif
-i test_freeze_simple_script \
%ifarch riscv64
-x test_eintr \
%endif
%ifarch %{mips64}
-x test_ctypes \
%endif
@ -1657,6 +1665,11 @@ CheckPython optimized
# ======================================================
%changelog
* Wed Jun 14 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.12.0~b2-1.0.riscv64
- Add support for riscv64:
- Increase tests timeout.
- Disable test_eintr test.
* Wed Jun 07 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.12.0~b2-1
- Update to 3.12.0b2