From 93076902df173c85ae9d0a1b95a42af01cef7ec1420e18af91782600d50dff30 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 14 Jul 2020 05:20:14 +0000 Subject: [PATCH] Accepting request 819668 from home:michel_mno:branches:Application:Geo - use limit_build for ppc64le to avoid OOM failure on power8-01 OBS-URL: https://build.opensuse.org/request/show/819668 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=307 --- qgis.changes | 5 +++++ qgis.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/qgis.changes b/qgis.changes index 009af0e..2515353 100644 --- a/qgis.changes +++ b/qgis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 7 16:58:27 UTC 2020 - Michel Normand + +- use limit_build for ppc64le to avoid OOM failure on power8-01 + ------------------------------------------------------------------- Thu Jun 25 09:12:52 UTC 2020 - Guillaume GARDET diff --git a/qgis.spec b/qgis.spec index 9eb6526..8a8e771 100644 --- a/qgis.spec +++ b/qgis.spec @@ -139,6 +139,9 @@ Obsoletes: qgis2 %if %{with grass} BuildRequires: grass-devel >= 7.2 %endif +%ifarch ppc64le +BuildRequires: memory-constraints +%endif %package devel Summary: Development Libraries for QGIS @@ -219,6 +222,10 @@ export PATH=$PATH:$QTDIR/bin export QTDIR=%{_prefix} export PATH=$PATH:$QTDIR/bin +%ifarch ppc64le +# avoid OOM failure on power8-01 builder +%limit_build -m 1300 +%endif %make_jobs %install