[buildd-tools-devel] Bug#810871: Bug#810871: [sbuild] Please provide a way to set an environment variable to the build directory

Katsuhiko Nishimra ktns.87 at gmail.com
Thu Jan 14 03:53:37 UTC 2016


On Thu, 14 Jan 2016 00:37:19 +0100 Johannes Schauer <josch at debian.org> wrote:
> 
> Is this documentation not working for you:
> 
> https://wiki.debian.org/sbuild#Using_.22ccache.22_with_sbuild

Yes, I've followed the instructions above and encountered cache misses.
> 
> If you just need a stable build path, is the --build-path option not working
> for you?

Ah, it's one way.
I haven't noticed that stable build paths are not a problem even in the
case where parallel builds are invoked.

But, if we can specify something like 
 $build_environment = { 'CCACHE_BASEDIR' => '%BUILD_DIR%'};
is it more versatile?

Anyway, thanks for your suggestion, and feel free to close this bug if
you wish.



More information about the Buildd-tools-devel mailing list