From: Michael Tremer Date: Fri, 10 May 2019 02:36:58 +0000 (+0100) Subject: Config: Disable XZ parallelism by default X-Git-Tag: v2.23-core133~141 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=0bc5b1de6dab9dafb8e1bdccb1fc2775605ab486 Config: Disable XZ parallelism by default Exporting XZ_OPT caused that every time xz was called, it automatically enabled parallelism. The make systemm also launches multiple processes at the same time to use more processor cores at the same time. The combination of this causes memory exhaustion even on large systems and has no performance gain. Therefore this is disabled by default and only enabled where we need it which is already the case. Signed-off-by: Michael Tremer --- diff --git a/lfs/Config b/lfs/Config index 42da3f3b1d..f597b8c652 100644 --- a/lfs/Config +++ b/lfs/Config @@ -32,6 +32,7 @@ # Cleanup environment from any variables unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN TOOLS_DIR +unexport XZ_OPT PARALLELISM = $(shell echo $$( \ if [ -n "$(MAX_PARALLELISM)" ] && [ $(MAX_PARALLELISM) -lt $(DEFAULT_PARALLELISM) ]; then \