From: | Sam James <sam@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Cc: | dist-kernel@g.o, kernel@g.o, Sam James <sam@g.o> |
Subject: | [gentoo-dev] [PATCH 1/8] kernel-2.eclass: decompress xz in parallel |
Date: | Tue, 11 Oct 2022 22:55:12 |
Message-Id: | 20221011225444.56032-1-sam@gentoo.org |
1 | No-op until >=app-arch/xz-utils-5.3.3_alpha. Recently added support |
2 | for this in Portage and pkgcore too for unpacking. |
3 | |
4 | Signed-off-by: Sam James <sam@g.o> |
5 | --- |
6 | eclass/kernel-2.eclass | 4 ++-- |
7 | 1 file changed, 2 insertions(+), 2 deletions(-) |
8 | |
9 | diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass |
10 | index 50464470a9bb..c18ef21099d1 100644 |
11 | --- a/eclass/kernel-2.eclass |
12 | +++ b/eclass/kernel-2.eclass |
13 | @@ -281,7 +281,7 @@ |
14 | # If you do change them, there is a chance that we will not fix resulting bugs; |
15 | # that of course does not mean we're not willing to help. |
16 | |
17 | -inherit estack toolchain-funcs |
18 | +inherit estack multiprocessing toolchain-funcs |
19 | |
20 | case ${EAPI} in |
21 | 7|8) ;; |
22 | @@ -1065,7 +1065,7 @@ unipatch() { |
23 | extention=${extention/:*/} |
24 | PIPE_CMD="" |
25 | case ${extention} in |
26 | - xz) PIPE_CMD="xz -dc";; |
27 | + xz) PIPE_CMD="xz -T$(makeopts_jobs) -dc";; |
28 | lzma) PIPE_CMD="lzma -dc";; |
29 | bz2) PIPE_CMD="bzip2 -dc";; |
30 | patch*) PIPE_CMD="cat";; |
31 | -- |
32 | 2.38.0 |
Subject | Author |
---|---|
[gentoo-dev] [PATCH 2/8] linux-mod.eclass: compress xz/zstd in parallel | Sam James <sam@g.o> |
[gentoo-dev] [PATCH 3/8] linux-mod.eclass: use pigz for parallel compression if available | Sam James <sam@g.o> |
[gentoo-dev] [PATCH 4/8] linux-mod.eclass: improve error handling for module compression | Sam James <sam@g.o> |
[gentoo-dev] [PATCH 5/8] linux-mod.eclass: cleanup whitespace | Sam James <sam@g.o> |
[gentoo-dev] [PATCH 6/8] kernel-build.eclass: compress xz/zstd in parallel | Sam James <sam@g.o> |
[gentoo-dev] [PATCH 7/8] kernel-build.eclass: use pigz for parallel compression if available | Sam James <sam@g.o> |
[gentoo-dev] [PATCH 8/8] kernel-build.eclass: use pbzip2/lbzip2 for parallel compression if available | Sam James <sam@g.o> |