distcc
This is an old revision of the document!
Table of Contents
ccache + distcc + crosscompile
distccd 설정
외부 머신에서의 분산빌드 요청을 수락하기 위해 /etc/default/distcc 설정
STARTDISTCC="true" ALLOWEDNETS="127.0.0.1 192.168.10.0/24" LISTENER="192.168.10.1" NICE="10"
분산 빌드를 시작 하는 주 머신
/home/suapapa/.distcc/hosts 파일에 다음과 같이 접속할 host 나열
localhost 192.168.10.2
빌드
다음과 같이 alias 설정
alias arm_make='nice -n 20 make ARCH=arm CROSS_COMPILE="ccache arm-none-eabi-" -j 3 ' alias arm_dist6_make='nice -n 20 make ARCH=arm CROSS_COMPILE="ccache distcc arm-none-eabi-" -j 6'
references
- distcc in google code
- discc old official homepage
- distcc로 컴파일 시간 줄이기 in IBM DW
distcc.1256029118.txt.gz · Last modified: 2013/08/03 05:04 (external edit)