1 |
> On 4 Jan 2022, at 22:58, Sam James <sam@g.o> wrote: |
2 |
> |
3 |
> Crank down MAKEOPTS jobs if MAKEOPTS="-jN" is too high for the |
4 |
> amount of RAM available (uses amount declared as needed |
5 |
> in the ebuild). Typically should be ~2GB per job. |
6 |
> |
7 |
> Bug: https://bugs.gentoo.org/570534 |
8 |
> Signed-off-by: Sam James <sam@g.o> |
9 |
> --- |
10 |
> eclass/check-reqs.eclass | 42 +++++++++++++++++++++++++++++++++++++--- |
11 |
> 1 file changed, 39 insertions(+), 3 deletions(-) |
12 |
|
13 |
Note that we discussed this on GitHub a bit when I just posted it there |
14 |
for some rough feedback: https://github.com/gentoo/gentoo/pull/23311 <https://github.com/gentoo/gentoo/pull/23311>. |
15 |
|
16 |
I think this is valuable for reducing invalid bug reports from OOM and |
17 |
easing user experience. |
18 |
|
19 |
Still kind of a WIP/rough draft, but may be ready in this state. Need |
20 |
more testing, so not planning on pushing yet or anything. |