프로그램 사용/distcc & ccache

distcc - 네트워크 분산 컴파일

구차니 2010. 3. 4. 11:59
컴파일 속도를 올리는 법을 찾다보니
distcc라는 녀석이 나온다.
원래 samba에서 관리하던 녀석인가?

60-second instructions:

  1. For each machine, download distcc unpack, and do
    ./configure && make && sudo make install
  2. On each of the servers, run distccd --daemon, with --allow options to restrict access.
  3. Put the names of the servers in your environment:
    export DISTCC_HOSTS='localhost red green blue'
  4. Build!
    cd ~/work/myproject; make -j8 CC=distcc

아무튼 CC를 distcc 로 해서 사용하고
distcc / distccd 조합으로 네트워크를 통해서 병행처리 하는 것으로 보인다.

[링크 : http://mechta.kr/51]
[링크 : http://distcc.samba.org/]
[링크 : http://distcc.org -> http://code.google.com/p/distcc/]



2010.07.08 추가

심볼릭 링크를 변경함으로서 distcc를 cross-compile에도 사용가능 하도록 해준다.
(해보진 않았으나 이런 문서만 발견 -0-)
[링크 : http://www.gentoo.org/doc/en/cross-compiling-distcc.xml]


+
2014.09.30 추가
[링크 : http://whatwant.tistory.com/423