2009. 2. 6. 16:04
distcc: a fast, free distributed C/C++ compiler
2009. 2. 6. 16:04 in 프로그래밍
distcc: a fast, free distributed C/C++ compiler
NEWS: distcc 3.1 released!
Distcc release 3.1 is now available at Downloads. See NEWS for details.
Overview
"Just wanted to drop you a line to say that we are now using distcc at work and it is excellent. We have a rack of opteron machines that we use for computational tasks and we are now using them as a compile farm to compile our ~1MLOC C++ tree (which can take an hour on a single CPU to recompile if we change certain header files). We tried using Sun's grid engine to do this (we already use it to schedule our computational jobs), but the combination of its polled operation and the overhead of NFS led to little improvement (and greatly stressed our network). With distcc compile times are way down and my productivity has greatly improved; the two best features for me are its low impact on the network and its simplicity.
"Thanks a lot for a great tool!" — Jeremy Barnes
60-second instructions
- For each machine, download distcc, unpack, and do
- On each of the servers, run distccd --daemon, with --allow options to restrict access.
- Put the names of the servers in your environment:
- Build!
./configure && make && sudo make install
export DISTCC_POTENTIAL_HOSTS='localhost red green blue'
cd ~/work/myproject; pump make -j8 CC=distcc
Full documentation
You may also be interested in an explanation of common pump-mode errors.
distcc 3
'프로그래밍' 카테고리의 다른 글
[1] 64-bit/32-bit 빌드 실습 (1) | 2009.01.15 |
---|---|
디버깅의 도(5)-메모리 관련 문제들 (1) | 2008.10.28 |
디버깅의 도(4)-GDB (0) | 2008.10.28 |
디버깅의 도(3)-Assert (0) | 2008.10.28 |
디버깅의 도(2) (0) | 2008.10.28 |