|
|
发表于 2008-4-2 22:50:11
|
显示全部楼层
Post by seismo;1834172
在编译oo时,系统负载1左右,跑distccd的机器上负载0, 用上distcc的话前者2-7左右,后者1-2
在/usr/portage/app-office/openoffice/openoffice-2.x.x.ebuild里有这样一段:
# Should the build use multiprocessing? Not enabled by default, as it tends to break
export JOBS="1"
if [[ "${WANT_MP}" == "true" ]]; then
export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
fi
我刚发现我把distcc看成ccache了,呵呵,还没用过distcc,不过受教了,谢谢。 |
|