public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexandre Rostovtsev <tetromino@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] EJOBS variable for EAPI 5? (was: [RFC] Create a JOBS variable to replace -jX in MAKEOPTS)
Date: Fri, 31 Aug 2012 11:27:59 -0400	[thread overview]
Message-ID: <1346426879.9013.18.camel@rook> (raw)
In-Reply-To: <20120831154521.5258c549@googlemail.com>

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

On Fri, 2012-08-31 at 15:45 +0100, Ciaran McCreesh wrote:
> On Fri, 31 Aug 2012 10:21:15 +0200
> Ulrich Mueller <ulm@gentoo.org> wrote:
> > Coming back to this old topic [1]. Is there still consensus that we
> > should have such an EJOBS variable? (It shouldn't be called JOBS
> > because this name is too generic, see the old discussion.) Then we
> > could add it to EAPI 5.
> > 
> > Ulrich
> > 
> > [1]
> > <http://archives.gentoo.org/gentoo-dev/msg_750e33f68b16d971dff1f40dd9145e56.xml>
> 
> If we're doing this, do we tell users to stop setting MAKEOPTS for
> EAPIs 5 and greater? Do we change the name of MAKEOPTS for EAPIs 5 and
> greater instead? Do we put fancy code in the package mangler to deal
> with it?

Users typically set MAKEOPTS systemwide in /etc/make.conf. If EJOBS will
have no effect for <EAPI5 ebuilds, then obviously we should not be
advising users to stop using MAKEOPTS until the whole tree has migrated
to EAPI5. And if EJOBS will be recognized by a future version of portage
for all EAPIs, then we still should allow MAKEOPTS because some users
may want to use --load-average.

Changing the name of MAKEOPTS in >=EAPI5 makes no sense. First, because
it's a standard environment variable used by gnu make. Second, because
having 3 different settings for parallel building (EJOBS, MAKEOPTS, and
"MAKEOPTS_EAPI5") would be insane.

Fancy code in the package manager would be the way to go IMHO. Ulrich's
message contains a reasonable description of the algorithm.

-Alexandre.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2012-08-31 15:29 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 20:29 [gentoo-dev] [RFC] Create a JOBS variable to replace -jX in MAKEOPTS Diego 'Flameeyes' Pettenò
2008-12-04 20:37 ` Luca Barbato
2008-12-04 20:40 ` [gentoo-dev] " Tiziano Müller
2008-12-04 20:46   ` Diego 'Flameeyes' Pettenò
2008-12-04 20:56 ` [gentoo-dev] " Alec Warner
2008-12-04 21:12   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-12-05  4:33     ` Joe Peterson
2008-12-05  7:23       ` Rémi Cardona
2008-12-05 10:30         ` Peter Volkov
2008-12-05 11:44           ` Diego 'Flameeyes' Pettenò
2012-08-31  8:21 ` [gentoo-dev] EJOBS variable for EAPI 5? (was: [RFC] Create a JOBS variable to replace -jX in MAKEOPTS) Ulrich Mueller
2012-08-31 14:45   ` Ciaran McCreesh
2012-08-31 15:12     ` Alexis Ballier
2012-09-02  0:20       ` Brian Harring
2012-09-02  1:26         ` Michael Mol
2012-09-04 11:00         ` Walter Dnes
2012-09-04 17:15           ` [gentoo-dev] EJOBS variable for EAPI 5? Zac Medico
2012-09-11 16:36             ` vivo75
2012-09-11 16:43               ` Zac Medico
2012-09-11 16:54                 ` Ian Stakenvicius
2012-09-11 17:07                   ` Zac Medico
2012-09-11 19:16                     ` Rich Freeman
2012-09-12  9:55                   ` Gregory M. Turner
2012-09-12 12:58                     ` Ian Stakenvicius
2012-09-12 16:33                       ` Hans de Graaff
2012-09-12 16:48                         ` Michael Mol
2012-09-12 16:58                         ` Zac Medico
2012-09-12 17:03                           ` Ian Stakenvicius
2012-09-12 18:52                       ` Gregory M. Turner
2012-09-12 15:18                 ` vivo75
2012-08-31 15:27     ` Alexandre Rostovtsev [this message]
2012-08-31 16:08       ` Ian Stakenvicius
2012-08-31 16:11         ` Ian Stakenvicius

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=1346426879.9013.18.camel@rook \
    --to=tetromino@gentoo.org \
    --cc=gentoo-dev@lists.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