Distcc: Difference between revisions
(distcc usage documentation) |
No edit summary |
||
Line 1: | Line 1: | ||
distcc is setup on 3 computers at noisebridge. to list them on your computer (with avahi-utils installed), type "avahi-browse -a | grep distcc". quaggadell is 32-bit, the others are 64-bit. I will fix quaggadell some day | distcc is setup on 3 computers at noisebridge. to list them on your computer (with avahi-utils installed), type "avahi-browse -a | grep distcc". quaggadell is 32-bit, the others are 64-bit. I will fix quaggadell to be 64-bit some day | ||
to compile | to compile | ||
<code> | |||
export PATH=/usr/lib/distcc:$PATH | export PATH=/usr/lib/distcc:$PATH | ||
export DISTCC_HOSTS="--randomize" and then the ips of the servers above seperated by spaces. (hostnames are ok, with .local, but you must have libmdns installed, and avahi daemon running) | export DISTCC_HOSTS="--randomize 212.4.6.8 1.6.4.2"</code> and then the ips of the servers above seperated by spaces. (hostnames are ok, with .local, but you must have libmdns installed, and avahi daemon running) | ||
also, DEB_BUILD_OPTIONS=parallel=8 or MAKEFLAGS=-j8, or just "make -j8" to do a parallel build | also, DEB_BUILD_OPTIONS=parallel=8 or MAKEFLAGS=-j8, or just "make -j8" to do a parallel build |
Revision as of 07:14, 7 December 2012
distcc is setup on 3 computers at noisebridge. to list them on your computer (with avahi-utils installed), type "avahi-browse -a | grep distcc". quaggadell is 32-bit, the others are 64-bit. I will fix quaggadell to be 64-bit some day
to compile
export PATH=/usr/lib/distcc:$PATH
export DISTCC_HOSTS="--randomize 212.4.6.8 1.6.4.2"
and then the ips of the servers above seperated by spaces. (hostnames are ok, with .local, but you must have libmdns installed, and avahi daemon running)
also, DEB_BUILD_OPTIONS=parallel=8 or MAKEFLAGS=-j8, or just "make -j8" to do a parallel build
for cross compiling google "gentoo distcc cross compile" to call the compiler by its fully qualified name using a wrapper with exec. please patch distcc to do this automatically before i get my lazy ass around to it....
TODO: g++|*-multiarch and implementing fully-qualified names using my gcc-defaults patch, so 32-bit and 64-bit hosts can be equilivent for semi-native compiles.