[packages/thunderbird] - added lowmem2 bcond (mach -j1)

qboosh qboosh at pld-linux.org
Tue Jul 25 16:42:23 CEST 2023


commit 2891ad7a3754936693ddb1f67766b6bcb394c951
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jul 25 16:03:55 2023 +0200

    - added lowmem2 bcond (mach -j1)

 thunderbird.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 10f499a..735e3e3 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -14,6 +14,7 @@
 %bcond_without	system_libvpx	# build with system libvpx
 %bcond_without	clang		# build using Clang/LLVM
 %bcond_with	lowmem		# lower memory requirements
+%bcond_with	lowmem2		# even lower memory requirements at cost of build time
 
 # UPDATING TRANSLATIONS:
 %if 0
@@ -1489,7 +1490,7 @@ export MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_BUILD_SITE=1
 export MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_MACH_SITE=1
 AUTOCONF=/usr/bin/autoconf2_13 \
 MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none \
-./mach build
+./mach build %{?with_lowmem2:-j1}
 
 %if %{with crashreporter}
 # create debuginfo for crash-stats.mozilla.com
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thunderbird.git/commitdiff/2891ad7a3754936693ddb1f67766b6bcb394c951



More information about the pld-cvs-commit mailing list