1 |
On Thu, 2022-04-28 at 12:59 +0200, Michał Górny wrote: |
2 |
> Change the default value for 'inf' argument to makeopts_jobs from 999 |
3 |
> to $(get_nproc). This means that if MAKEOPTS specifies a `-j` argument |
4 |
> without a specific value, nproc will be used rather than infinity-ish |
5 |
> number of jobs. |
6 |
> |
7 |
> The old default made sense for ebuilds using both makeopts_jobs |
8 |
> and makeopts_loadavg. However, these are very rare — only 4 packages |
9 |
> and 3 eclass at this time. For the remaining ebuilds, they meant |
10 |
> uncontrollably using up to 999 jobs. |
11 |
> |
12 |
> The new default is both safer and more correct for the vast majority |
13 |
> of Gentoo packages, removing the necessity of repeating: |
14 |
> |
15 |
> $(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") |
16 |
> |
17 |
> The ebuilds and eclasses using makeopts_loadavg have been updated |
18 |
> to pass the old default. |
19 |
> |
20 |
|
21 |
Complete set of commits updating the ebuilds and eclasses: |
22 |
|
23 |
https://github.com/gentoo/gentoo/pull/25238 |
24 |
|
25 |
-- |
26 |
Best regards, |
27 |
Michał Górny |