From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F828158094 for ; Sat, 24 Sep 2022 22:13:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6E6BE0AC2; Sat, 24 Sep 2022 22:13:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E0CCE0AC2 for ; Sat, 24 Sep 2022 22:13:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7823E340E3C for ; Sat, 24 Sep 2022 22:13:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1096525 for ; Sat, 24 Sep 2022 22:13:03 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1664057577.48d107e5c1a103d59a053aebeefa9a5aac5c32ff.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/phase-helpers.sh X-VCS-Directories: bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 48d107e5c1a103d59a053aebeefa9a5aac5c32ff X-VCS-Branch: master Date: Sat, 24 Sep 2022 22:13:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3ce2d2f-16b3-4ed4-9e5c-068a55bfb50e X-Archives-Hash: bfa36365303fdb90df9e1c86f0c27bc7 commit: 48d107e5c1a103d59a053aebeefa9a5aac5c32ff Author: Sam James gentoo org> AuthorDate: Sat Sep 24 07:23:36 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 24 22:12:57 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=48d107e5 bin: pass -j from MAKEOPTS to xz for parallel decompression >= xz 5.3.3_alpha supports parallel decompression. Signed-off-by: Sam James gentoo.org> bin/phase-helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 0f8973f59..2217e5a0b 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -544,7 +544,7 @@ unpack() { "with EAPI '${EAPI}'. Instead use 'xz'." fi if ___eapi_unpack_supports_xz; then - __unpack_tar "xz -d" + __unpack_tar "xz -T$(___makeopts_jobs) -d" else __vecho "unpack ${x}: file format not recognized. Ignoring." fi @@ -557,7 +557,7 @@ unpack() { "with EAPI '${EAPI}'. Instead use 'txz'." fi if ___eapi_unpack_supports_txz; then - tar xof "${srcdir}${x}" || die "${myfail}" + XZ_OPT="-T$(___makeopts_jobs)" tar xof "${srcdir}${x}" || die "${myfail}" else __vecho "unpack ${x}: file format not recognized. Ignoring." fi