Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: multilib@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/3] multilib-build: unparallelize multilib_parallel_foreach_abi
Date: Thu, 11 Dec 2014 10:37:29
Message-Id: 1418294192-9639-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/3] Remove parallel run support from multilib & multibuild by "Michał Górny"
1 ---
2 eclass/multilib-build.eclass | 8 ++++----
3 1 file changed, 4 insertions(+), 4 deletions(-)
4
5 diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
6 index 2e35d47..b0a4ea1 100644
7 --- a/eclass/multilib-build.eclass
8 +++ b/eclass/multilib-build.eclass
9 @@ -223,18 +223,18 @@ multilib_foreach_abi() {
10 # @DESCRIPTION:
11 # If multilib support is enabled, sets the toolchain up for each
12 # supported ABI along with the ABI variable and correct BUILD_DIR,
13 -# and runs the given commands with them. The commands are run
14 -# in parallel with number of jobs being determined from MAKEOPTS.
15 +# and runs the given commands with them.
16 #
17 # If multilib support is disabled, it just runs the commands. No setup
18 # is done.
19 #
20 -# Useful for running configure scripts.
21 +# This function used to run multiple commands in parallel. Now it's just
22 +# a deprecated alias to multilib_foreach_abi.
23 multilib_parallel_foreach_abi() {
24 debug-print-function ${FUNCNAME} "${@}"
25
26 local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abi_pairs) )
27 - multibuild_parallel_foreach_variant _multilib_multibuild_wrapper "${@}"
28 + multibuild_foreach_variant _multilib_multibuild_wrapper "${@}"
29 }
30
31 # @FUNCTION: multilib_for_best_abi
32 --
33 2.2.0