- set z10 as the base CPU for s390(x) build
This commit is contained in:
parent
404c37f2dd
commit
b929faae35
10
pypy3.spec
10
pypy3.spec
@ -1,6 +1,6 @@
|
||||
Name: pypy3
|
||||
Version: 5.5.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Python 3 implementation with a Just-In-Time compiler
|
||||
|
||||
# LGPL and another free license we'd need to ask spot about are present in some
|
||||
@ -316,6 +316,11 @@ find lib-python/%{pylibver} -name "*.py" -exec \
|
||||
%endif
|
||||
|
||||
%build
|
||||
%ifarch s390 s390x
|
||||
# pypy3 requires z10 at least
|
||||
%global optflags %(echo %{optflags} | sed 's/-march=z9-109 /-march=z10 /')
|
||||
%endif
|
||||
|
||||
# Top memory usage is about 4.5GB on arm7hf
|
||||
free
|
||||
|
||||
@ -835,6 +840,9 @@ CheckPyPy pypy3-stackless
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Nov 13 2016 Dan Horák <dan[at]danny.cz> - 5.5.0-3
|
||||
- set z10 as the base CPU for s390(x) build
|
||||
|
||||
* Sat Nov 12 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.5.0-2
|
||||
- Also build on arm and s390*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user