[Clam-devel] distributed compiler

Hernán Ordiales h at ordia.com.ar
Mon Apr 2 10:08:37 PDT 2007


> > On 3/30/07, Pau Arumi <parumi at iua.upf.edu> wrote:
> >> interesting indeed.
> >> but i think i'd prefere a more high-level scons option and easier
> >> to document.
> >> what about a unique option like this?
> >> scons use_distcc_hosts="host1 host2"
> >> and scons --help would explain what it does.
> > yes could be, but personally i prefer in that way because i can set up
> > it once and then forget about it, only type "scons" every time...
> but this is done automatically for any scons option. i mean, you set
> that option the first time (or edit clam.conf) and then only "scons".

good, then i like me too :-)
new to me, just i'm learning scons tricks and python
(previous this i thought that maybe you were suggesting something like
that, but i noticed it after my last mail)

well, i remade it (please see the patch attached):

now, if you run it with something like: scons distcc_hosts='host1 host2 host3'
you setup and enable it, then you can run only "scons" and you'll
compiling with this conf

if you want to disable it: scons distcc_hosts=''
(builds again only with g++)

help also works as you said:
scons --help
...
distcc_hosts: distcc compiler hosts
    default:
    actual: host1 host2 host3


(hosts value's are automatically saved in "clam.conf")

that's all

> > i've done in that way too because i used to work with projects where
> > sometimes i had to change the compiler (for example g++-3.3 or
> > g++-4.0, migrations,etc) and was very useful.
> ok, this is a reason for a CXX option. for clam i don't see the need
> right now.

ok, i see

> ok. but first lets know what david thinks about it.
>>I am an answering machine. Answering machines have no thoughts.

seems to be agree :)

cheers!
-- 
Hernán
http://h.ordia.com.ar
GnuPG: 0xEE8A3FE9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distcc_option.patch
Type: text/x-patch
Size: 1413 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070402/b9489c58/attachment-0003.bin>


More information about the clam-devel mailing list