Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/, /
Date: Thu, 29 Sep 2022 20:45:48
Message-Id: 1664484339.04302e2d4d5fafd3ed2f2375473d6fe3a2a2faa8.sam@gentoo
1 commit: 04302e2d4d5fafd3ed2f2375473d6fe3a2a2faa8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 06:37:19 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 20:45:39 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=04302e2d
7
8 bin: ecompress: zstd: pass -j from MAKEOPTS for parallel compression
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 NEWS | 3 +++
13 bin/ecompress | 1 +
14 2 files changed, 4 insertions(+)
15
16 diff --git a/NEWS b/NEWS
17 index 8ed871e5d..67cb6a795 100644
18 --- a/NEWS
19 +++ b/NEWS
20 @@ -16,6 +16,9 @@ Features:
21 * bin: ecompress: xz: Pass -T N where N is the number of jobs from ${MAKEOPTS}
22 to xz for parallel compression.
23
24 +* bin: ecompress: zstd: Pass -T N where N is the number of jobs from ${MAKEOPTS}
25 + to zstd for parallel compression.
26 +
27 Bug fixes:
28 * emerge: Scheduler: Fix filenames for binpkgs in some cases - reuse existing
29 filename and don't allocate a new one (bug #872392).
30
31 diff --git a/bin/ecompress b/bin/ecompress
32 index 57c518705..a77bb7e35 100755
33 --- a/bin/ecompress
34 +++ b/bin/ecompress
35 @@ -129,6 +129,7 @@ if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
36 # Setting '--rm' will remove the source files after a successful compression.
37 lz4) PORTAGE_COMPRESS_FLAGS="-m --rm";;
38 xz) PORTAGE_COMPRESS_FLAGS="-9 -T$(__makeopts_jobs)";;
39 + zstd) PORTAGE_COMPRESS_FLAGS="-T$(__makeopts_jobs)";;
40 esac
41 fi