From 73df46c30ed676ec02fee2f09f04e5e592402a28 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 23 Jul 2020 10:17:55 -0400 Subject: use lsb_release = sid for -j1 compile flag --- palemoon/debian/mozconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'palemoon') diff --git a/palemoon/debian/mozconfig b/palemoon/debian/mozconfig index 6513132..d1ceb6f 100644 --- a/palemoon/debian/mozconfig +++ b/palemoon/debian/mozconfig @@ -50,6 +50,10 @@ ac_add_options --enable-alsa # primarily for 32-bit but tolerated for 64-bit ac_add_options --x-libraries=/usr/lib -# TESTING FOR OBS +if test `lsb_release -sc` = "sid" || test `lsb_release -sc` = "unstable" ; then +# single-threaded for sid because of jobserver problem in OBS +mk_add_options MOZ_MAKE_FLAGS="-j1" +else # limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) mk_add_options MOZ_MAKE_FLAGS="-j4" +fi -- cgit