make samba3 make -j proof

James Peach jorgar at gmail.com
Tue Oct 10 21:22:29 GMT 2006


On 10/10/06, Björn JACKE <bjoern at j3e.de> wrote:
> Hi,
>
> sitting in a train today waiting for a samba compile I thought it
> might be quite a bit faster if it would be compilable parallelized. I
> saw that the changes neccessary in the Makefile to make this work are
> not very big. See attached patch. I tested the Makefile with make -j20
> without a problem. On a dual core machine the build is in fact twice
> as fast now with make -j2.

I always use
        make proto
        make -j <n> <foo>

This has always worked. The longest part of the build is configure,
and I don't know that there's much you can do about that.

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list