[Clam-devel] distributed compiler
David García Garzón
dgarcia at iua.upf.edu
Sat Mar 31 05:33:51 PDT 2007
wow.
On Divendres 30 Març 2007, Hernán Ordiales wrote:
> i don't know if is of your interest, but i had patched the SConstruct
> file to have the option of build with distcc (a distributed compiler)
>
> It doesn't affect normal compile. It's defined on "clam.conf" file in
> a very simple way...
>
> for example, if you have at this file:
>
> CXX = 'g++'
> DISTCC_HOSTS = ''
>
> (or even without any of those env vars)
>
> you will compile normally as now...
>
>
> but, if you have something like:
>
> CXX = 'distcc g++'
> DISTCC_HOSTS = 'host1 host2 host3 host4'
>
> you'll compiling with distcc instead, with the host's (or ip numbers)
> defined on "DISTCC_HOSTS" env var.
>
> And of course, you have to configure and setup well distcc in all host's
> first
>
> If you want, some time ago i made a short article in my blog[1] about
> how to setup and work with distcc (i'm sorry is in spanish, but if you
> speak english you can go to the distcc web[2] for the almost the same
> or i think you can find easily a good article about it and of course
> you can ask me about it if you want too :P)
>
> ah, one more thing, while compiling you also can have a little fun
> with distccmon-gnome app, a distcc graphical monitor... :o)
>
> I also recommend install ccache[3] too to improve the whole process
>
> [1] http://h.ordia.com.ar/blog/index.php?entry=entry070206-155912
> [2] http://distcc.samba.org/
> [3] http://ccache.samba.org/
>
> cheers,
--
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070331/0eab4225/attachment-0001.sig>
More information about the clam-devel
mailing list