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 3/4] multiprocessing: use the expanded call form.
Date: Thu, 06 Dec 2012 10:55:30
Message-Id: 1354791297-19239-4-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [distutils-r1] Improvements to parallel builds by "Michał Górny"
1 The short one doesn't want to work with pipes, for some reason.
2 ---
3 gx86/eclass/distutils-r1.eclass | 6 +++++-
4 1 file changed, 5 insertions(+), 1 deletion(-)
5
6 diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
7 index 1006813..8ba2aa8 100644
8 --- a/gx86/eclass/distutils-r1.eclass
9 +++ b/gx86/eclass/distutils-r1.eclass
10 @@ -382,7 +382,11 @@ distutils-r1_run_phase() {
11 if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
12 "${@}"
13 else
14 - multijob_child_init --post "${@}"
15 + (
16 + multijob_child_init
17 + "${@}"
18 + ) &
19 + multijob_post_fork
20 fi
21
22 if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then
23 --
24 1.8.0