Update pypy3.9.spec for riscv64
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
This commit is contained in:
parent
052faf37d3
commit
1265675c3a
@ -11,7 +11,7 @@ Version: %{basever}.%{micro}%{?pre:~%{pre}}
|
|||||||
# This potentially allows tags like Obsoletes: pypy3 < %%{version}-%%{release}.
|
# This potentially allows tags like Obsoletes: pypy3 < %%{version}-%%{release}.
|
||||||
# https://bugzilla.redhat.com/2053880
|
# https://bugzilla.redhat.com/2053880
|
||||||
%global baserelease %{autorelease -n}
|
%global baserelease %{autorelease -n}
|
||||||
Release: %{baserelease}.%{pyversion}%{?dist}
|
Release: %{baserelease}.%{pyversion}.0.riscv64%{?dist}
|
||||||
Summary: Python %{pyversion} implementation with a Just-In-Time compiler
|
Summary: Python %{pyversion} implementation with a Just-In-Time compiler
|
||||||
|
|
||||||
# PyPy is MIT
|
# PyPy is MIT
|
||||||
@ -371,6 +371,10 @@ rm lib-python/3/distutils/command/*.exe
|
|||||||
# Top memory usage is about 4.5GB on arm7hf
|
# Top memory usage is about 4.5GB on arm7hf
|
||||||
free
|
free
|
||||||
|
|
||||||
|
%ifarch riscv64
|
||||||
|
export PYPY_MULTIARCH=riscv64-linux-gnu
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildPyPy() {
|
BuildPyPy() {
|
||||||
ExeName=$1
|
ExeName=$1
|
||||||
Options=$2
|
Options=$2
|
||||||
@ -451,6 +455,9 @@ BuildPyPy() {
|
|||||||
--gcrootfinder=shadowstack \
|
--gcrootfinder=shadowstack \
|
||||||
$Options \
|
$Options \
|
||||||
targetpypystandalone \
|
targetpypystandalone \
|
||||||
|
%ifarch riscv64
|
||||||
|
--withoutmod-_continuation \
|
||||||
|
%endif
|
||||||
--platlibdir=%{_lib}
|
--platlibdir=%{_lib}
|
||||||
|
|
||||||
echo "--------------------------------------------------------------"
|
echo "--------------------------------------------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user