From 16b205a51978c2c4178c38eda3345176ce58a937 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 15 Nov 2022 10:15:36 -0600 Subject: [PATCH] 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 --- webkitgtk.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webkitgtk.spec b/webkitgtk.spec index a1703f5..c71944c 100644 --- a/webkitgtk.spec +++ b/webkitgtk.spec @@ -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