On Sat, Oct 24, 2009 at 10:59:03AM -0400, Ryan Kavanagh wrote: > Hi list, > Has anybody setup ccache in an LVM schroot for sbuild and if so, how? My > blocking point is that sbuild uses an LVM snapshot of the schroot to build a > package, which means that any cached compiling would get lost at the end of > the > build. > > If anybody knows of a way to make this work, or to decrease compile times some > other way, please let me know :) >
I set my environment for sbuild like this: exec env PATH=/usr/lib/ccache:$PATH CCACHE_DIR=/home/ryan52/.ccache/ DISTCC_HOSTS='10.0.0.10 10.0.0.17' CCACHE_PREFIX=distcc DEB_BUILD_OPTIONS=parallel=4 "$@" /home/ (apparently by default, I don't think I did anything) is bind mounted so this is preserved. -- _________________________ Ryan Niebur ryanrya...@gmail.com
signature.asc
Description: Digital signature