Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 27 May 2022 03:16:21
Message-Id: 1653621369.db0387530cf744068f480b68a192d4fc10a81286.sam@gentoo
1 commit: db0387530cf744068f480b68a192d4fc10a81286
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 03:15:28 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 03:16:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db038753
7
8 toolchain.eclass: drop -j1 for src_install
9
10 Originates from CVS times (commit hash from git graft):
11 ```
12 commit 0a4b02d50f2202089927d1526ebe003f54ad55a9
13 Author: Mike Frysinger <vapier <AT> gentoo.org>
14 Date: Thu Jan 29 06:06:45 2009 +0000
15
16 at least gcc-4.1 has problems with parallel installs, so use -j1 with it
17 ```
18
19 Doesn't seem relevant in the year 2022 and modern GCCs.
20
21 Signed-off-by: Sam James <sam <AT> gentoo.org>
22
23 eclass/toolchain.eclass | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
27 index c421001209ca..69d674f46b64 100644
28 --- a/eclass/toolchain.eclass
29 +++ b/eclass/toolchain.eclass
30 @@ -1763,7 +1763,7 @@ toolchain_src_install() {
31 done < <(find gcc/include*/ -name '*.h')
32
33 # Do the 'make install' from the build directory
34 - S="${WORKDIR}"/build emake -j1 DESTDIR="${D}" install || die
35 + S="${WORKDIR}"/build emake DESTDIR="${D}" install || die
36
37 # Punt some tools which are really only useful while building gcc
38 find "${ED}" -name install-tools -prune -type d -exec rm -rf "{}" \;