[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question about parallel optimzation

From: grischka
Subject: question about parallel optimzation
Date: Thu, 14 Apr 2011 14:27:38 +0200
User-agent: Thunderbird (Windows/20100228)

Considering 2 make processes in parallel and 3 independend directories, 2 should have 100 and 1 should have 200 source files. In this case make should start with the bigger directory with one build process and with one of the other 2 (smaller) directories with another process, right ?

No, because make does not count make processes as jobs.  Only build
commands do count.

Such the whole make process including spawned sub-make processes will
always try to run -jnumber build commands in parallel, which means it
might as well run commands in different directories at the same time,
eventually.  There would be no advantage if it started building in this
or in that directory.

--- grischka

reply via email to

[Prev in Thread] Current Thread [Next in Thread]