1 |
On Fri, Oct 25, 2019 at 4:31 PM Raffaele BELARDI <raffaele.belardi@××.com> |
2 |
wrote: |
3 |
|
4 |
> 8-core CPU: |
5 |
> |
6 |
> EMERGE_DEFAULT_OPTS="--quiet-build --keep-going --jobs 9 --load-average 9" |
7 |
> |
8 |
> MAKEOPTS="-j9 -l9" |
9 |
> |
10 |
> |
11 |
> |
12 |
> Works fine except when both Firefox and Thunderbird need update, in that |
13 |
> case emerge typically tries to build them in parallel and one gets OOM |
14 |
> killed due to insufficient swap space (1G swap, 16G RAM). I will increase |
15 |
> the swap but I’d like to know: |
16 |
> |
17 |
> Is there a way to tell emerge to normally run 9 parallel jobs but limit to |
18 |
> 1 when it is building one of the two monsters? |
19 |
> |
20 |
|
21 |
IIRC; |
22 |
|
23 |
/etc/portage/env/smallbuild.conf |
24 |
|
25 |
EMERGE_DEFAULT_OPTS="--quiet-build --keep-going --jobs 1 --load-average 1" |
26 |
|
27 |
MAKEOPTS="-j1 -l1" |
28 |
|
29 |
/etc/portage/package.env |
30 |
mail-client/thunderbird smallbuild.conf |
31 |
www-client/firefox smallbuild.conf |