Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH distutils-r1 2/4] Use post-fork mode to avoid early output.
Date: Thu, 06 Dec 2012 10:55:23
Message-Id: 1354791297-19239-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [distutils-r1] Improvements to parallel builds by "Michał Górny"
1 In pre-fork mode, we first output 'running phase', then check for jobs.
2 Therefore, the output for (n+1)th phase goes too early. Using post-fork
3 mode fixes that.
4 ---
5 gx86/eclass/distutils-r1.eclass | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
9 index 9e37a56..1006813 100644
10 --- a/gx86/eclass/distutils-r1.eclass
11 +++ b/gx86/eclass/distutils-r1.eclass
12 @@ -382,7 +382,7 @@ distutils-r1_run_phase() {
13 if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
14 "${@}"
15 else
16 - multijob_child_init "${@}"
17 + multijob_child_init --post "${@}"
18 fi
19
20 if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then
21 --
22 1.8.0