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 e9e56aa595
commit 16b205a519

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