SHA256
1
0
forked from pool/Mesa

- using memory-constraints on ppc64 for trying to avoid OOM during

build (boo#1194739)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1079
This commit is contained in:
Stefan Dirsch 2022-01-17 10:58:42 +00:00 committed by Git OBS Bridge
parent 9668f8f7fe
commit 8f7399abc5
4 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 17 10:54:32 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- using memory-constraints on ppc64 for trying to avoid OOM during
build (boo#1194739)
-------------------------------------------------------------------
Fri Jan 14 15:02:55 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -143,6 +143,7 @@ BuildRequires: gcc-c++
BuildRequires: glslang-devel
BuildRequires: imake
BuildRequires: libtool
BuildRequires: memory-constraints
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3-base
@ -789,6 +790,11 @@ sed -i -e s/cpp_std=gnu++11/cpp_std=gnu++14/g meson.build
%endif
%build
# try to avoid OOM on ppc64 (boo#1194739)
%ifarch ppc64 ppc64le
%limit_build -m 12000
%endif
egl_platforms=x11,wayland
%meson \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 17 10:54:32 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- using memory-constraints on ppc64 for trying to avoid OOM during
build (boo#1194739)
-------------------------------------------------------------------
Fri Jan 14 15:02:55 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -142,6 +142,7 @@ BuildRequires: gcc-c++
BuildRequires: glslang-devel
BuildRequires: imake
BuildRequires: libtool
BuildRequires: memory-constraints
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3-base
@ -788,6 +789,11 @@ sed -i -e s/cpp_std=gnu++11/cpp_std=gnu++14/g meson.build
%endif
%build
# try to avoid OOM on ppc64 (boo#1194739)
%ifarch ppc64 ppc64le
%limit_build -m 12000
%endif
egl_platforms=x11,wayland
%meson \