On Tue, Mar 26, 2013 at 2:04 PM, Neil Bothwick <n...@digimed.co.uk> wrote:
> On Mon, 25 Mar 2013 22:29:00 -0400, gottl...@nyu.edu wrote:
>
>> > % cat /etc/portage/package.env/libreoffice
>> > app-office/libreoffice j4.conf
>> >
>> > % cat /etc/portage/env/j4.conf
>> > MAKEOPTS="-j4"
>>
>> I see.  Clever.
>>
>> Do you file bugs when you need to restrict MAKEOPTS?
>
> If I need to restrict it to -j1, it is builds with -j4 I consider the
> "bug" to be self-inflicted :)
>
>> Also I am somewhat surprised you can run libreoffice with
>> MAKEOPTS="-j4".  I seem to remember that being one of the ones I had to
>> degrade.
>
> I try with -j4, if that fails, I try -j1. ISTR OpenOffice.org used to
> have -j1 forced in the ebuild. Perhaps the time the LO guys spent on code
> cleanup covered more than removing a ton of German comments to no longer
> used functions :-O
>
>
> --
> Neil Bothwick
>
> @@@@ There are two kinds of people in this world: Those who are
> good with words, and those who are... erm... thingy @@@@

I'd done this experiment sometime ago, and I had sent a mail here as
well regarding which load average does make account for.
A couple of packages started failing compile and it turns out that
they don't work well with the infinite jobs that make --jobs spawns.

It's better to limit the number of jobs to 2*CPUs (or cores) with a
load control like --load-average=N where N is number of CPUs.

https://bugs.gentoo.org/show_bug.cgi?id=452942

--
Nilesh Govindrajan
http://nileshgr.com

Reply via email to