From 37a509f436a52924e39d015ead80fda328986900 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 18 Aug 2020 10:28:33 +0200 Subject: [PATCH] I encounter the ARM memory exaustion in the end Looks like it is only issue on some machines --- community-mysql.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/community-mysql.spec b/community-mysql.spec index 5bb07ec..8e5bd2d 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -73,7 +73,7 @@ Name: community-mysql Version: 8.0.21 -Release: 8%{?with_debug:.debug}%{?dist} +Release: 9%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries URL: http://www.mysql.com @@ -453,6 +453,10 @@ 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 @@ -856,6 +860,10 @@ fi %endif %changelog +* Tue Aug 18 2020 Michal Schorm - 8.0.21-9 +- I encounter the ARM memory exaustion in the end + Looks like it is only issue on some machines + * Tue Aug 18 2020 Michal Schorm - 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