let's request 20G of physical memory via _constraints file instead

of building with '-j1'

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1164
This commit is contained in:
Stefan Dirsch 2022-11-16 15:28:26 +00:00 committed by Git OBS Bridge
parent 2f6f5ba800
commit 75995df2d5
3 changed files with 2 additions and 8 deletions

View File

@ -2,8 +2,7 @@
Tue Nov 15 15:01:19 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- try to fix build on ppc64le due to running OOM (boo#1205441)
* build with '-j1'
* let's request 4G of physical memory via _constraints file
* let's request 20G of physical memory via _constraints file
-------------------------------------------------------------------
Tue Nov 8 12:24:26 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -884,12 +884,7 @@ egl_platforms=x11,wayland
-Dcpp_args="%{optflags}"
%endif
# not enough memory on ppc64le (boo#1205441)
%ifarch ppc64 ppc64le
%meson_build -j1
%else
%meson_build
%endif
%install
%meson_install

View File

@ -22,7 +22,7 @@
<size unit="G">9</size>
</disk>
<physicalmemory>
<size unit="G">4</size>
<size unit="G">20</size>
</physicalmemory>
</hardware>
</overwrite>