Enable riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-08-19 09:25:51 +03:00
parent f5d6ae420d
commit 1f629bb32f
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 14 additions and 2 deletions

View File

@ -17,7 +17,7 @@ URL: https://www.python.org/
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: Python
@ -1084,13 +1084,22 @@ CheckPython() {
# distutils.tests.test_bdist_rpm tests fail when bootstraping the Python
# package: rpmbuild requires /usr/bin/pythonX.Y to be installed
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
%if %{with bootstrap}
-x test_distutils \
%endif
%ifarch %{mips64}
-x test_ctypes \
%endif
%ifarch riscv64
-x test_gdb \
-x test_venv \
%endif
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
@ -1588,6 +1597,9 @@ CheckPython optimized
# ======================================================
%changelog
* Fri Aug 19 2022 David Abdurachmanov <davidlt@rivosinc.com> - 3.10.6-1.0.riscv64
- Enable riscv64
* Tue Aug 02 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.10.6-1
- Update to 3.10.6