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
This commit is contained in:
Martin Pluskal 2020-07-14 05:20:14 +00:00 committed by Git OBS Bridge
parent 4eecb15a14
commit 93076902df
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 7 16:58:27 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- use limit_build for ppc64le to avoid OOM failure on power8-01
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 25 09:12:52 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org> Thu Jun 25 09:12:52 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -139,6 +139,9 @@ Obsoletes: qgis2
%if %{with grass} %if %{with grass}
BuildRequires: grass-devel >= 7.2 BuildRequires: grass-devel >= 7.2
%endif %endif
%ifarch ppc64le
BuildRequires: memory-constraints
%endif
%package devel %package devel
Summary: Development Libraries for QGIS Summary: Development Libraries for QGIS
@ -219,6 +222,10 @@ export PATH=$PATH:$QTDIR/bin
export QTDIR=%{_prefix} export QTDIR=%{_prefix}
export PATH=$PATH:$QTDIR/bin export PATH=$PATH:$QTDIR/bin
%ifarch ppc64le
# avoid OOM failure on power8-01 builder
%limit_build -m 1300
%endif
%make_jobs %make_jobs
%install %install