30 Aug 2008 (Sat)

21:58:17 # Life Rebuilding packages fast with distcc and ccache. I've found that I've neglected ecasound package for a long time. It's a pretty big C++ package, and one of the reasons I don't want to touch it recently is the time it takes to build the package. I played with distcc/ccache a little bit and found that it's pretty easy to set it up working with debuild thanks to those people who made it possible. debuild (or dpkg-buildpackage) now takes -j option for parallelism, and there are some options for ccache/distcc. I just crafted ~/.devscript, and ran debuild -j5, and the build went zooming fast. Cool.

DEBUILD_SET_ENVVAR_CCACHE_PREFIX="distcc"
DEBUILD_SET_ENVVAR_DISTCC_HOSTS="coreduo.local akkeee.local" # names of machines to use in the build.
DEBUILD_PREPEND_PATH=/usr/lib/ccache
	
Junichi Uekawa

$Id: dancer-diary.el,v 1.92 2007/08/30 21:46:09 dancer Exp $