make samba3 make -j proof

Gerald (Jerry) Carter jerry at samba.org
Tue Oct 10 21:55:04 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Peach wrote:
> 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>

That works fine.  But I think the original problem
is that "make -j$n bin/pam_winbind.so" failes unless smbd
has already been compiled.





jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLBa4IR7qMdg1EfYRApL4AKCtdsDCs1Mn7nnGgP+4SKzGJyNebgCfY5Jy
g5MU83udhN/QNg/AFfp8G6s=
=4REr
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list