Re: Using ccache with git-buildpackage
On Mon, 04 Oct 2010 at 13:49:10 +0600, Andrey Rahmatullin wrote:
> Hello. I use git-buildpackage and want to use ccache. I tried exporting
> overriden CC and PATH, but that had no effect and `echo' in debian/rules
> shows that both variables are reverted to the defaults. Does
> git-buildpackage clear the environment? How can I use ccache in this
> configuration?
I believe git-buildpackage calls debuild, which itself clears the environment.
debuild is controlled by ~/.devscripts, in which I have, among other things:
DEBUILD_PREPEND_PATH=/usr/lib/ccache
DEBUILD_PRESERVE_ENVVARS=CCACHE_DIR
S
Reply to: