mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
c37abaf941807955581712e6fa38c75db8ffccd7
The amd64 17.1, ppc64 and 23.0 profile.bashrc check the directory
layout of ROOT in the setup phase. Portage decides whether to serialize
a phase by searching hook files for its name, so these read-only checks
make every package's setup phase run one at a time.
Run the checks in every phase except prerm and postrm instead, so a
broken layout still stops an install early but doesn't block an unmerge.
With Portage commits baa4c2459 ("EbuildPhase: skip ebuild-locks for
phases that run no code") and 6f21d3067 ("Scheduler: don't queue setup
phases that run no ebuild code"), installing 401 binary packages into an
empty ROOT with --jobs 32 and FEATURES=parallel-install on 23.0 takes
30.2s instead of 57.4s. With Portage 3.0.83 there is no change (91.0s vs
90.6s).
On ppc64, which sources both the ppc64 and the 23.0 file, --jobs 16
takes 193s instead of 396s, and 395s with only the 23.0 file fixed.
Bug: https://bugs.gentoo.org/866085
Signed-off-by: Matt Turner <mattst88@gentoo.org>
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%