[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH] multiprocessing.eclass: Default makeopts_jobs to inf=$(get_nproc)
From:       Michał_Górny <mgorny () gentoo ! org>
Date:       2022-04-28 11:07:44
Message-ID: 60ad9382273c405bf8f07c82d80869cb2e0a178e.camel () gentoo ! org
[Download RAW message or body]

On Thu, 2022-04-28 at 12:59 +0200, Michał Górny wrote:
> Change the default value for 'inf' argument to makeopts_jobs from 999
> to $(get_nproc).  This means that if MAKEOPTS specifies a `-j` argument
> without a specific value, nproc will be used rather than infinity-ish
> number of jobs.
> 
> The old default made sense for ebuilds using both makeopts_jobs
> and makeopts_loadavg.  However, these are very rare — only 4 packages
> and 3 eclass at this time.  For the remaining ebuilds, they meant
> uncontrollably using up to 999 jobs.
> 
> The new default is both safer and more correct for the vast majority
> of Gentoo packages, removing the necessity of repeating:
> 
>     $(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
> 
> The ebuilds and eclasses using makeopts_loadavg have been updated
> to pass the old default.
> 

Complete set of commits updating the ebuilds and eclasses:

https://github.com/gentoo/gentoo/pull/25238

-- 
Best regards,
Michał Górny


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic