- 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:
parent
9668f8f7fe
commit
8f7399abc5
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user