PDA

View Full Version : Distributed source code compiling


ghenry
2004-06-25, 03:47 PM CDT
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
2004-06-25, 08:00 PM CDT
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
2004-06-25, 09:11 PM CDT
Oh, another great tool to compliment distcc is ccach

http://ccache.samba.org/

This really speeds up your recompile times.

Ug
2004-06-26, 09:11 PM CDT
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
2004-06-27, 01:55 AM CDT
You should try ccache though.

Ug
2004-06-27, 04:43 AM CDT
I haven't got a home network at the moment either. :p

ghenry
2004-06-27, 06:30 AM CDT
Spend some money then :)

Ug
2004-06-27, 01:11 PM CDT
I'm a poor student, I have no money. ;)

ghenry
2004-06-28, 01:21 AM CDT
I thought you were minted from all your articles?

cybrjackle
2004-07-02, 08:51 AM CDT
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
2004-07-02, 03:20 PM CDT
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
2004-07-02, 05:04 PM CDT
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
2004-07-02, 05:44 PM CDT
I might give gentoo another shot then.