Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>, hwoarang@g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code
Date: Mon, 20 Mar 2017 22:55:18
Message-Id: 20170320225501.1b614a97@sf
In Reply to: [gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code by "Michał Górny"
1 On Mon, 20 Mar 2017 20:35:51 +0100
2 Michał Górny <mgorny@g.o> wrote:
3
4 CCing maintainer
5
6 > The parallel econf code is used only with USE=static-libs, and even in
7 > that case provides negligible speed gain. At the same time, it adds
8 > a lot of complexity, causes the build logs to be unreadable mix of
9 > output from both configure scripts and violates PMS by calling econf
10 > in parallel which can cause issues with different package managers.
11 > ---
12 > dev-lang/jimtcl/jimtcl-0.75-r1.ebuild | 10 ++++------
13 > dev-lang/jimtcl/jimtcl-0.76.ebuild | 10 ++++------
14 > dev-lang/jimtcl/jimtcl-9999.ebuild | 10 ++++------
15 > 3 files changed, 12 insertions(+), 18 deletions(-)
16 >
17 > diff --git a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
18 > index d05b5040644f..180745bbe7da 100644
19 > --- a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
20 > +++ b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
21 > @@ -1,9 +1,9 @@
22 > -# Copyright 1999-2014 Gentoo Foundation
23 > +# Copyright 1999-2017 Gentoo Foundation
24 > # Distributed under the terms of the GNU General Public License v2
25 >
26 > EAPI="5"
27 >
28 > -inherit multiprocessing eutils
29 > +inherit eutils
30 >
31 > if [[ ${PV} == "9999" ]] ; then
32 > EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
33 > @@ -40,15 +40,13 @@ src_prepare() {
34 > }
35 >
36 > src_configure() {
37 > - multijob_init
38 > - CCACHE=None multijob_child_init econf --with-jim-shared
39 > + CCACHE=None econf --with-jim-shared
40 > if use static-libs ; then
41 > # The build does not support doing both simultaneously.
42 > mkdir static-libs
43 > cd static-libs
44 > - CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
45 > + CCACHE=None ECONF_SOURCE=${S} econf
46 > fi
47 > - multijob_finish
48 > }
49 >
50 > src_compile() {
51 > diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild b/dev-lang/jimtcl/jimtcl-0.76.ebuild
52 > index a82e24c9b204..ecdcdc96fac5 100644
53 > --- a/dev-lang/jimtcl/jimtcl-0.76.ebuild
54 > +++ b/dev-lang/jimtcl/jimtcl-0.76.ebuild
55 > @@ -1,9 +1,9 @@
56 > -# Copyright 1999-2015 Gentoo Foundation
57 > +# Copyright 1999-2017 Gentoo Foundation
58 > # Distributed under the terms of the GNU General Public License v2
59 >
60 > EAPI="5"
61 >
62 > -inherit multiprocessing eutils
63 > +inherit eutils
64 >
65 > if [[ ${PV} == "9999" ]] ; then
66 > EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
67 > @@ -40,15 +40,13 @@ src_prepare() {
68 > }
69 >
70 > src_configure() {
71 > - multijob_init
72 > - CCACHE=None multijob_child_init econf --with-jim-shared
73 > + CCACHE=None econf --with-jim-shared
74 > if use static-libs ; then
75 > # The build does not support doing both simultaneously.
76 > mkdir static-libs
77 > cd static-libs
78 > - CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
79 > + CCACHE=None ECONF_SOURCE=${S} econf
80 > fi
81 > - multijob_finish
82 > }
83 >
84 > src_compile() {
85 > diff --git a/dev-lang/jimtcl/jimtcl-9999.ebuild b/dev-lang/jimtcl/jimtcl-9999.ebuild
86 > index d05b5040644f..180745bbe7da 100644
87 > --- a/dev-lang/jimtcl/jimtcl-9999.ebuild
88 > +++ b/dev-lang/jimtcl/jimtcl-9999.ebuild
89 > @@ -1,9 +1,9 @@
90 > -# Copyright 1999-2014 Gentoo Foundation
91 > +# Copyright 1999-2017 Gentoo Foundation
92 > # Distributed under the terms of the GNU General Public License v2
93 >
94 > EAPI="5"
95 >
96 > -inherit multiprocessing eutils
97 > +inherit eutils
98 >
99 > if [[ ${PV} == "9999" ]] ; then
100 > EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
101 > @@ -40,15 +40,13 @@ src_prepare() {
102 > }
103 >
104 > src_configure() {
105 > - multijob_init
106 > - CCACHE=None multijob_child_init econf --with-jim-shared
107 > + CCACHE=None econf --with-jim-shared
108 > if use static-libs ; then
109 > # The build does not support doing both simultaneously.
110 > mkdir static-libs
111 > cd static-libs
112 > - CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
113 > + CCACHE=None ECONF_SOURCE=${S} econf
114 > fi
115 > - multijob_finish
116 > }
117 >
118 > src_compile() {
119 > --
120 > 2.12.0
121 >
122 >
123
124
125 --
126
127 Sergei