[Vm-dev] [commit][3467] Fork the linux builds in makeallclean.

Tobias Pape Das.Linux at gmx.de
Sun Oct 4 16:01:09 UTC 2015


On 04.10.2015, at 17:45, Levente Uzonyi <leves at elte.hu> wrote:

> On Sun, 4 Oct 2015, Tobias Pape wrote:
> 
>> 
>> 
>> On 03.10.2015, at 23:15, Levente Uzonyi <leves at elte.hu> wrote:
>> 
>>> On Sat, 3 Oct 2015, Tobias Pape wrote:
>>> 
>>>> 
>>>> 
>>>> On 03.10.2015, at 20:10, Levente Uzonyi <leves at elte.hu> wrote:
>>>> 
>>>>> Wouldn't it be worth adding "-j $[$(nproc) * 2]" to make in the mvm file?
>>>>> I always do it when I'm building a VM on linux.
>>>> 
>>>> Even better: "-l $[$(nproc) - 1]", which respects a maximum load
>>>> and does not kill your machine when it spawns too many processes.
>>> 
>>> Does it allow to have multiple jobs without -j?
>>> 
>> 
>> Yes.
> 
> Cool. Too bad the man page doesn't mention it there.

It is fuzzy. It can be interpreted, that you need -j -l ..., maybe that is the case.
-j -l should be safe tho.

-O is probably interesting for eliot ;):

"[T]he ‘--output-sync’ (‘-O’) option. This option instructs make to save the output from the commands it invokes and print it all once the commands are completed. Additionally, if there are multiple recursive make invocations running in parallel, they will communicate so that only one of them is generating output at a time."


Best regards
	-Tobias




More information about the Vm-dev mailing list