Gentoo Archives: gentoo-user

From: Raffaele BELARDI <raffaele.belardi@××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] per package parallel build
Date: Fri, 25 Oct 2019 05:31:16
Message-Id: VI1PR10MB329553ACEFE52F91BD343C7DF7650@VI1PR10MB3295.EURPRD10.PROD.OUTLOOK.COM
1 8-core CPU:
2
3 EMERGE_DEFAULT_OPTS="--quiet-build --keep-going --jobs 9 --load-average 9"
4
5 MAKEOPTS="-j9 -l9"
6
7 Works fine except when both Firefox and Thunderbird need update, in that case emerge typically tries to build them in parallel and one gets OOM killed due to insufficient swap space (1G swap, 16G RAM). I will increase the swap but I'd like to know:
8 Is there a way to tell emerge to normally run 9 parallel jobs but limit to 1 when it is building one of the two monsters?
9
10 Thanks,
11
12 raffaele

Replies

Subject Author
Re: [gentoo-user] per package parallel build Adam Carter <adamcarter3@×××××.com>
Re: [gentoo-user] per package parallel build Dale <rdalek1967@×××××.com>
Re: [gentoo-user] per package parallel build Peter Humphrey <peter@××××××××××××.uk>
Re: [gentoo-user] per package parallel build Mick <michaelkintzios@×××××.com>