From bafbb8d345bd2ee9fd67fbd3618b94758ea7f10a Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 23 Jul 2020 14:02:42 -0400 Subject: try new layout for mozconfig for -j flag --- palemoon/debian/mozconfig | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/palemoon/debian/mozconfig b/palemoon/debian/mozconfig index 93f26cd..3b78f53 100644 --- a/palemoon/debian/mozconfig +++ b/palemoon/debian/mozconfig @@ -1,3 +1,11 @@ +if test `lsb_release -sc` = "sid" || test `lsb_release -sc` = "unstable" ; then +# single-threaded for sid because of jobserver problem in OBS +export JCOUNT=1 +else +# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) +export JCOUNT=4 +fi + mk_add_options AUTOCLOBBER=1 export BUILDING_RELEASE=1 export MC_OFFICIAL=1 @@ -50,11 +58,4 @@ ac_add_options --enable-alsa # primarily for 32-bit but tolerated for 64-bit ac_add_options --x-libraries=/usr/lib -if test `lsb_release -sc` = "sid" || test `lsb_release -sc` = "unstable" ; then -# single-threaded for sid because of jobserver problem in OBS -export JCOUNT=1 -else -# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) -export JCOUNT=4 -fi -mk_add_options MOZ_MAKE_FLAGS="-j${JCOUNT}" +mk_add_options MOZ_MAKE_FLAGS=-j${JCOUNT} -- cgit