osx 上的 distcc 不分发编译

osx 上的 distcc 不分发编译

我刚刚在几台 osx 机器上用自制软件安装了 distcc,并将它们的 IP 地址添加到 /usr/local/Cellar/distcc/3.2rc1/etc/distcc/clients.allow 和 ~/.distcc/hosts 上。

然后,我使用 -j16 开始编译,但是观看 distccmon-text 显示所有编译仅在我的机器上完成......

我导出了 DISTCC_LOG 和 DISTCC_VERBOSE,在日志中,我看到了很多这些..

distcc[72899] (dcc_parse_hosts_file) load hosts from /Users/joao.pincho/.distcc/hosts
distcc[72899] (dcc_parse_hosts) found tcp token "192.168.6.10"
distcc[72899] (dcc_lock_host) got cpu lock on 192.168.6.10 slot 0 as fd6
distcc[72894] (dcc_parse_hosts) found tcp token "192.168.6.10"
distcc[72899] (dcc_lock_host) got cpu lock on localhost slot 0 as fd7
distcc[72899] (dcc_note_state) note state 3, file "(NULL)", host "localhost"
distcc[72895] (dcc_parse_hosts) found tcp token "192.168.6.10"
distcc[72894] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_tcp_192.168.6.10_3632_0 is busy
distcc[72894] (dcc_lock_host) got cpu lock on 192.168.6.10 slot 1 as fd6
distcc[72894] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_localhost_0 is busy
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_tcp_192.168.6.10_3632_0 is busy
distcc[72894] (dcc_lock_host) got cpu lock on localhost slot 1 as fd7
distcc[72894] (dcc_note_state) note state 3, file "(NULL)", host "localhost"
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_tcp_192.168.6.10_3632_1 is busy
distcc[72895] (dcc_lock_host) got cpu lock on 192.168.6.10 slot 2 as fd6
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_localhost_0 is busy
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_localhost_1 is busy
distcc[72895] (dcc_lock_host) got cpu lock on localhost slot 2 as fd7

另一台 iMac 空闲,有 8 个 distccd 进程正在运行。为什么老是说CPU忙?我还需要做什么来分发编译?谢谢。

相关内容