Compare commits
3 Commits
98cbe43bc4
...
ec4f7cd847
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | ec4f7cd847 | |
David Abdurachmanov | e5917b5932 | |
Charalampos Stratakis | 620353def6 |
|
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
||||||
%global prerel a1
|
%global prerel a1
|
||||||
%global upstream_version %{general_version}%{?prerel}
|
%global upstream_version %{general_version}%{?prerel}
|
||||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||||
Release: 2.0.riscv64%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
License: Python
|
License: Python
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ License: Python
|
||||||
# IMPORTANT: When bootstrapping, it's very likely the wheels for pip and
|
# IMPORTANT: When bootstrapping, it's very likely the wheels for pip and
|
||||||
# setuptools are not available. Turn off the rpmwheels bcond until
|
# setuptools are not available. Turn off the rpmwheels bcond until
|
||||||
# the two packages are built with wheels to get around the issue.
|
# the two packages are built with wheels to get around the issue.
|
||||||
%bcond_without bootstrap
|
%bcond_with bootstrap
|
||||||
|
|
||||||
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
|
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
|
||||||
# Uses upstream bundled prebuilt wheels otherwise
|
# Uses upstream bundled prebuilt wheels otherwise
|
||||||
|
@ -667,14 +667,14 @@ topdir=$(pwd)
|
||||||
# Fedora packages utilizing %%py3_build will use them as well
|
# Fedora packages utilizing %%py3_build will use them as well
|
||||||
# https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
|
# https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
|
||||||
export CFLAGS="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
export CFLAGS="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
||||||
export CFLAGS_NODIST="%{build_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
export CFLAGS_NODIST="%{build_cflags} -D_GNU_SOURCE -fPIC -fwrapv -fno-semantic-interposition"
|
||||||
export CXXFLAGS="%{extension_cxxflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
export CXXFLAGS="%{extension_cxxflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
||||||
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
|
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
|
||||||
export OPT="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
export OPT="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
||||||
export LINKCC="gcc"
|
export LINKCC="gcc"
|
||||||
export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
|
export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
|
||||||
export LDFLAGS="%{extension_ldflags} -g $(pkg-config --libs-only-L openssl)"
|
export LDFLAGS="%{extension_ldflags} -g $(pkg-config --libs-only-L openssl)"
|
||||||
export LDFLAGS_NODIST="%{build_ldflags} -g $(pkg-config --libs-only-L openssl)"
|
export LDFLAGS_NODIST="%{build_ldflags} -fno-semantic-interposition -g $(pkg-config --libs-only-L openssl)"
|
||||||
|
|
||||||
# We can build several different configurations of Python: regular and debug.
|
# We can build several different configurations of Python: regular and debug.
|
||||||
# Define a common function that does one build:
|
# Define a common function that does one build:
|
||||||
|
@ -1568,9 +1568,13 @@ CheckPython optimized
|
||||||
# ======================================================
|
# ======================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Dec 04 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 3.9.0~a1-2.0.riscv64
|
* Thu Dec 05 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 3.9.0~a1-3.0.riscv64
|
||||||
- Disable test_posix test on riscv64 (failing)
|
- Disable test_posix test on riscv64 (failing)
|
||||||
|
|
||||||
|
* Wed Dec 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a1-3
|
||||||
|
- Build Python with -fno-semantic-interposition for better performance
|
||||||
|
- https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
|
||||||
|
|
||||||
* Thu Nov 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a1-2
|
* Thu Nov 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a1-2
|
||||||
- Don't remove the test.test_tools module
|
- Don't remove the test.test_tools module
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue