Accepting request 827732 from home:michel_mno:branches:science
- Call %limit_build macro in spec to avoid oom build failure for ppc64le and aarch64 - Add _constraints with default 5GB min physicalmemory and 7GB for ppc64/ppc64le OBS-URL: https://build.opensuse.org/request/show/827732 OBS-URL: https://build.opensuse.org/package/show/science/suitesparse?expand=0&rev=27
This commit is contained in:
parent
0fd9774c30
commit
bd0f110163
18
_constraints
Normal file
18
_constraints
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="G">5</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>ppc64</arch>
|
||||||
|
<arch>ppc64le</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="G">7</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
</constraints>
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 15:52:29 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
- Call %limit_build macro in spec to avoid oom build failure
|
||||||
|
for ppc64le and aarch64
|
||||||
|
- Add _constraints with default 5GB min physicalmemory
|
||||||
|
and 7GB for ppc64/ppc64le
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 19 22:49:23 UTC 2020 - Christoph G <foss@grueninger.de>
|
Thu Mar 19 22:49:23 UTC 2020 - Christoph G <foss@grueninger.de>
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ BuildRequires: cmake
|
|||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
BuildRequires: lapack-devel
|
BuildRequires: lapack-devel
|
||||||
BuildRequires: m4
|
BuildRequires: m4
|
||||||
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: metis-devel
|
BuildRequires: metis-devel
|
||||||
BuildRequires: tbb-devel
|
BuildRequires: tbb-devel
|
||||||
%if %{with openblas}
|
%if %{with openblas}
|
||||||
@ -579,6 +580,13 @@ rm SPQR/Doc/spqr.pdf
|
|||||||
%patch775418 -p1
|
%patch775418 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch ppc64le aarch64
|
||||||
|
%define limitbuild 1500
|
||||||
|
%limit_build -m %{limitbuild}
|
||||||
|
%define JOBS %{jobs}
|
||||||
|
%define _lto_cflags -flto=%{jobs}
|
||||||
|
%endif
|
||||||
|
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
export CC=gcc-7
|
export CC=gcc-7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user