add workaround for "virtual memory exhausted: Cannot allocate memory" on s390

epel9
Than Ngo 9 years ago
parent 3e4e8dc22d
commit 23d460699a

@ -4,7 +4,7 @@
Name: plasma-desktop
Summary: Plasma Desktop shell
Version: 5.5.0
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2+ and (GPLv2 or GPLv3)
URL: https://projects.kde.org/projects/kde/workspace/plasma-desktop
@ -176,6 +176,11 @@ BuildArch: noarch
%build
%ifarch s390 %{arm}
# Decrease debuginfo verbosity to reduce memory consumption even more
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
@ -316,6 +321,10 @@ fi
%changelog
* Wed Dec 16 2015 Than Ngo <than@redhat.com> - 5.5.0-6
- add workaround for "virtual memory exhausted: Cannot allocate memory"
on s390
* Tue Dec 15 2015 Than Ngo <than@redhat.com> - 5.5.0-5
- fix build failure on s390/s390x

Loading…
Cancel
Save