Re: More efficient multiple file compiles?

Fergus Henderson <[email protected]>
Newsgroups gmane.comp.compilers.distcc
Message-ID <[email protected]>
The amount of parallelism that you get will depend on the details of how
your Makefile is written.

Does your Makefile contain ".NOTPARALLEL"?  From the GNU Make manual:

     If `.NOTPARALLEL' is mentioned as a target, then this invocation of
     `make' will be run serially, even if the `-j' option is given.

Even if your Makefile doesn't contain .NOTPARALLEL, if it is written so that
it only invokes distcc once, or if it has serial data dependencies between
each distcc invocation, then running it with "-j" won't help.

On Mon, Apr 27, 2009 at 1:46 PM, Tom Holly <[email protected]> wrote:

> make -j12 CC=distcc <target> is not working for me. When exactly do I run
> make -j? I already have the distcc code built/installed and the pump server
> running.
>

-- 
Fergus Henderson <[email protected]>

__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
https://lists.samba.org/mailman/listinfo/distcc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.