public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergei Trofimovich <slyfox@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>, hwoarang@gentoo.org
Subject: Re: [gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code
Date: Mon, 20 Mar 2017 22:55:01 +0000	[thread overview]
Message-ID: <20170320225501.1b614a97@sf> (raw)
In-Reply-To: <20170320193552.32500-1-mgorny@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 3943 bytes --]

On Mon, 20 Mar 2017 20:35:51 +0100
Michał Górny <mgorny@gentoo.org> wrote:

CCing maintainer

> The parallel econf code is used only with USE=static-libs, and even in
> that case provides negligible speed gain. At the same time, it adds
> a lot of complexity, causes the build logs to be unreadable mix of
> output from both configure scripts and violates PMS by calling econf
> in parallel which can cause issues with different package managers.
> ---
>  dev-lang/jimtcl/jimtcl-0.75-r1.ebuild | 10 ++++------
>  dev-lang/jimtcl/jimtcl-0.76.ebuild    | 10 ++++------
>  dev-lang/jimtcl/jimtcl-9999.ebuild    | 10 ++++------
>  3 files changed, 12 insertions(+), 18 deletions(-)
> 
> diff --git a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
> index d05b5040644f..180745bbe7da 100644
> --- a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
> +++ b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
> @@ -1,9 +1,9 @@
> -# Copyright 1999-2014 Gentoo Foundation
> +# Copyright 1999-2017 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
>  
>  EAPI="5"
>  
> -inherit multiprocessing eutils
> +inherit eutils
>  
>  if [[ ${PV} == "9999" ]] ; then
>  	EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
> @@ -40,15 +40,13 @@ src_prepare() {
>  }
>  
>  src_configure() {
> -	multijob_init
> -	CCACHE=None multijob_child_init econf --with-jim-shared
> +	CCACHE=None econf --with-jim-shared
>  	if use static-libs ; then
>  		# The build does not support doing both simultaneously.
>  		mkdir static-libs
>  		cd static-libs
> -		CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
> +		CCACHE=None ECONF_SOURCE=${S} econf
>  	fi
> -	multijob_finish
>  }
>  
>  src_compile() {
> diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild b/dev-lang/jimtcl/jimtcl-0.76.ebuild
> index a82e24c9b204..ecdcdc96fac5 100644
> --- a/dev-lang/jimtcl/jimtcl-0.76.ebuild
> +++ b/dev-lang/jimtcl/jimtcl-0.76.ebuild
> @@ -1,9 +1,9 @@
> -# Copyright 1999-2015 Gentoo Foundation
> +# Copyright 1999-2017 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
>  
>  EAPI="5"
>  
> -inherit multiprocessing eutils
> +inherit eutils
>  
>  if [[ ${PV} == "9999" ]] ; then
>  	EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
> @@ -40,15 +40,13 @@ src_prepare() {
>  }
>  
>  src_configure() {
> -	multijob_init
> -	CCACHE=None multijob_child_init econf --with-jim-shared
> +	CCACHE=None econf --with-jim-shared
>  	if use static-libs ; then
>  		# The build does not support doing both simultaneously.
>  		mkdir static-libs
>  		cd static-libs
> -		CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
> +		CCACHE=None ECONF_SOURCE=${S} econf
>  	fi
> -	multijob_finish
>  }
>  
>  src_compile() {
> diff --git a/dev-lang/jimtcl/jimtcl-9999.ebuild b/dev-lang/jimtcl/jimtcl-9999.ebuild
> index d05b5040644f..180745bbe7da 100644
> --- a/dev-lang/jimtcl/jimtcl-9999.ebuild
> +++ b/dev-lang/jimtcl/jimtcl-9999.ebuild
> @@ -1,9 +1,9 @@
> -# Copyright 1999-2014 Gentoo Foundation
> +# Copyright 1999-2017 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
>  
>  EAPI="5"
>  
> -inherit multiprocessing eutils
> +inherit eutils
>  
>  if [[ ${PV} == "9999" ]] ; then
>  	EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
> @@ -40,15 +40,13 @@ src_prepare() {
>  }
>  
>  src_configure() {
> -	multijob_init
> -	CCACHE=None multijob_child_init econf --with-jim-shared
> +	CCACHE=None econf --with-jim-shared
>  	if use static-libs ; then
>  		# The build does not support doing both simultaneously.
>  		mkdir static-libs
>  		cd static-libs
> -		CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
> +		CCACHE=None ECONF_SOURCE=${S} econf
>  	fi
> -	multijob_finish
>  }
>  
>  src_compile() {
> -- 
> 2.12.0
> 
> 


-- 

  Sergei

[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      parent reply	other threads:[~2017-03-20 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20 19:35 [gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code Michał Górny
2017-03-20 19:35 ` [gentoo-dev] [PATCH 2/2] sys-libs/ncurses: Remove parallel econf logic Michał Górny
2017-03-20 22:55   ` Sergei Trofimovich
2017-03-21  1:12   ` Mike Frysinger
2017-03-21 15:44     ` Michał Górny
2017-03-20 22:55 ` Sergei Trofimovich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170320225501.1b614a97@sf \
    --to=slyfox@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=hwoarang@gentoo.org \
    --cc=mgorny@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox