PDA

View Full Version : Distributed source code compiling


ghenry
25th June 2004, 10:47 PM
Ever wanted to save yourself time when compiling things from source? Got some spare PC's to do the job? Why not get them to compile things for you.

Check out:

http://www-106.ibm.com/developerworks/linux/library/l-distcc.html?ca=dgr-lnxw02Distcc

Looks very cool.

ghenry
26th June 2004, 03:00 AM
Ever wanted to save yourself time when compiling things from source? Got some spare PC's to do the job? Why not get them to compile things for you.

Check out:

http://www-106.ibm.com/developerworks/linux/library/l-distcc.html?ca=dgr-lnxw02Distcc

Looks very cool.

Just tried it. It is pretty amazing.

ghenry
26th June 2004, 04:11 AM

Oh, another great tool to compliment distcc is ccach

http://ccache.samba.org/

This really speeds up your recompile times.

Ug
27th June 2004, 04:11 AM
I've read about that before. I don't think adding a 450mhz to this 3 gig with hyper threading would make an awful lot of difference with compiling.

ghenry
27th June 2004, 08:55 AM
You should try ccache though.

Ug
27th June 2004, 11:43 AM
I haven't got a home network at the moment either. :p

ghenry
27th June 2004, 01:30 PM
Spend some money then :)

Ug
27th June 2004, 08:11 PM
I'm a poor student, I have no money. ;)

ghenry
28th June 2004, 08:21 AM
I thought you were minted from all your articles?

cybrjackle
2nd July 2004, 03:51 PM
What does help is when your main box is a Dual Xeon and your helping a long older box's compile ;)

I use distcc all the time in Fedora and Gentoo (were i first heard it from)

ghenry
2nd July 2004, 10:20 PM
That doesn't surprise me that you used it first with Gentoo, as that's what they are all about.

P.S> Can you setup Gentoo to use distcc when installing, to send off the compiles to a REALLY fast server?

cybrjackle
3rd July 2004, 12:04 AM
Sure can,

http://www.gentoo.org/doc/en/distcc.xml

4. Using Distcc to Bootstrap

It really does help out with the slower box's.

ghenry
3rd July 2004, 12:44 AM
I might give gentoo another shot then.