Adjust %limit_build to request 3 GB of RAM per CPU

I think this should be enough. If I see builds fail due to OOM, then I
can always switch back to requesting 4 GB
This commit is contained in:
Michael Catanzaro 2022-11-15 10:15:36 -06:00
parent 26c36a7a74
commit 6e0535cfb1
1 changed files with 3 additions and 3 deletions

View File

@ -360,15 +360,15 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-5.0
export NINJA_STATUS="[1/3][%f/%t %es] "
%cmake_build %limit_build -m 4096
%cmake_build %limit_build -m 3072
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.1
export NINJA_STATUS="[2/3][%f/%t %es] "
%cmake_build %limit_build -m 4096
%cmake_build %limit_build -m 3072
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.0
export NINJA_STATUS="[3/3][%f/%t %es] "
%cmake_build %limit_build -m 4096
%cmake_build %limit_build -m 3072
%install
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-5.0