I haven't encounter the ARM memory exaustion on Fedora build infrastructure

Let's enable it and see how it will work
This commit is contained in:
Michal Schorm 2020-08-18 08:48:27 +02:00
parent c10b1b71d6
commit c7c5a5fec4
1 changed files with 6 additions and 6 deletions

View File

@ -73,7 +73,7 @@
Name: community-mysql
Version: 8.0.21
Release: 7%{?with_debug:.debug}%{?dist}
Release: 8%{?with_debug:.debug}%{?dist}
Summary: MySQL client programs and shared libraries
URL: http://www.mysql.com
@ -453,10 +453,6 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
%{SOURCE14} %{SOURCE15} %{SOURCE17} %{SOURCE18} %{SOURCE31} scripts
%build
# arm build ends with out of memory error for LTO enabled build
%ifarch %arm
%define _lto_cflags %{nil}
%endif
# fail quickly and obviously if user tries to build as root
%if %runselftest
@ -860,7 +856,11 @@ fi
%endif
%changelog
* Mon Aug 10 2020 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.21-7
* Tue Aug 18 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-8
- I haven't encounter the ARM memory exaustion on Fedora build infrastructure
Let's enable it and see how it will work
* Mon Aug 17 2020 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.21-7
- Use upstream patch to enable LTO
- Skip LTO on ARM due to out of memory issue