From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: /, bin/
Date: Thu, 29 Sep 2022 20:45:44 +0000 (UTC) [thread overview]
Message-ID: <1664484339.9ae3ec1af0071354db3bf57bc5cdec963b056e77.sam@gentoo> (raw)
commit: 9ae3ec1af0071354db3bf57bc5cdec963b056e77
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 06:37:19 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 20:45:39 2022 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=9ae3ec1a
bin: ecompress: xz: set -9, pass -j from MAKEOPTS for parallel compression
- Pass -9 like we do for bzip2 & gzip.
- Pass -j from MAKEOPTS for parallel compression.
Signed-off-by: Sam James <sam <AT> gentoo.org>
NEWS | 5 +++++
bin/ecompress | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/NEWS b/NEWS
index 8586e35cd..8ed871e5d 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,11 @@ Features:
checking for dependencies. Update @goland-rebuild accordingly which now
includes all packages depending on dev-lang/go (bug #827974, bug #865115)
+* bin: ecompress: xz: Pass -9 to xz for compression level like we do for bzip2 & gzip.
+
+* bin: ecompress: xz: Pass -T N where N is the number of jobs from ${MAKEOPTS}
+ to xz for parallel compression.
+
Bug fixes:
* emerge: Scheduler: Fix filenames for binpkgs in some cases - reuse existing
filename and don't allocate a new one (bug #872392).
diff --git a/bin/ecompress b/bin/ecompress
index c69e8d6dd..57c518705 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1
@@ -128,6 +128,7 @@ if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
# See: https://bugs.gentoo.org/672916
# Setting '--rm' will remove the source files after a successful compression.
lz4) PORTAGE_COMPRESS_FLAGS="-m --rm";;
+ xz) PORTAGE_COMPRESS_FLAGS="-9 -T$(__makeopts_jobs)";;
esac
fi
next reply other threads:[~2022-09-29 20:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-29 20:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-13 2:34 [gentoo-commits] proj/portage:master commit in: /, bin/ Sam James
2023-12-27 21:18 Ulrich Müller
2023-12-04 6:45 Sam James
2023-05-17 6:20 Sam James
2023-05-01 7:21 Sam James
2022-12-05 4:04 Sam James
2022-09-29 20:45 Sam James
2022-09-29 20:45 Sam James
2022-09-29 20:45 Sam James
2022-09-29 20:45 Sam James
2022-08-19 17:59 Mike Gilbert
2022-07-18 20:42 Sam James
2020-08-01 1:57 Zac Medico
2017-09-02 21:37 Michał Górny
2014-08-19 7:01 Michał Górny
2014-08-12 21:55 Alexander Berntsen
2012-03-27 15:19 Zac Medico
2012-03-27 14:40 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1664484339.9ae3ec1af0071354db3bf57bc5cdec963b056e77.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox