16/November/2003

Compile farm at home

I recently found out about distcc,
a distributed C/C++ compiler. The installation is very easy, you just have to:

        export CC=distcc
	export DISTCC_HOSTS={list of hosts with distcc installed}
      

and then, whenever you run make with more than one concurrent job (make
-j n
) or many compilations at the same time, your compilation will be
distributed among all hosts specified
in the DISTCC_HOSTS environment variable. Latest version
even includes a GNOME UI for monitoring the compilations:





So far, it seems to work ok, except when running make -j 8 on
the Evolution sources. In that case, it seems to hang for me.