[Clam-devel] distributed compiler

Pau Arumi parumi at iua.upf.edu
Mon Apr 2 15:44:18 PDT 2007


En/na Hernán Ordiales ha escrit:
> On 4/2/07, Pau Arumi <parumi at iua.upf.edu> wrote:
>> En/na Hernán Ordiales ha escrit:
>>
>> > +if clam_env['distcc_hosts'] :
>> > +     clam_env['CXX'] = 'distcc g++'
>> > +     clam_env['ENV']['DISTCC_HOSTS'] = clam_env['distcc_hosts']
>> > +     SetOption('num_jobs', 
>> len(string.split(clam_env['distcc_hosts'])))
>>
>> num_jobs option is not needed, is it?
> 
> mmm, seems not, but without it, hosts are well configured but distcc
> not really sends works to another hosts, i had to add it to get it
> working..

ok, now i understand: SetOption('num_jobs')=n equivals to scons -jn.
of course it's needed. at first sight i thought it was the same as
opt.Add(...)

>> send a new patch and i'll commit it.

commited (revision 9920) and thanks a lot!

pau




More information about the clam-devel mailing list