Bootstrap on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-04-12 13:42:49 +03:00
parent 64d44f1f88
commit 5247ddf653
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -6,7 +6,7 @@
Name: pypy
Version: %{basever}.11
%global pyversion 2.7
Release: 2%{?dist}
Release: 2.0.riscv64%{?dist}
Summary: Python implementation with a Just-In-Time compiler
# PyPy is MIT
@ -113,7 +113,7 @@ ExcludeArch: %{ix86}
%global src_name %{ver_name}-v%{version}-src
%ifarch %{ix86} x86_64 %{arm} s390x %{power64} aarch64
%ifarch %{ix86} x86_64 %{arm} s390x %{power64} aarch64 riscv64
%global with_jit 1
%else
%global with_jit 0
@ -196,7 +196,7 @@ Patch382: 382-cve-2015-20107.patch
# Turn it off with this boolean, to revert back to rebuilding using CPython
# and avoid a cycle in the build-time dependency graph:
%global use_self_when_building 1
%global use_self_when_building 0
%if 0%{use_self_when_building}
BuildRequires: pypy2
%global bootstrap_python_interp pypy2
@ -224,7 +224,7 @@ BuildRequires: chrpath
BuildRequires: python-rpm-macros
%ifnarch s390
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
@ -867,6 +867,9 @@ CheckPyPy %{name}-c-stackless
%changelog
* Wed Apr 12 2023 David Abdurachmanov <davidlt@rivosinc.com> - 7.3.11-2.0.riscv64
- Add support for riscv64 (bootstrap)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild