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

Johannes Schauer josch at debian.org
Wed Jan 13 23:37:19 UTC 2016


Hi,

Quoting Katsuhiko Nishimra (2016-01-13 04:33:59)
> I'm using ccache with cmake-using projects and have encountered a lot of
> cache misses.  I figured out the problem is that cmake passes full paths to a
> compiler, and that CCACHE_BASEDIR provides a workaround.  However, sbuild
> creates unpredictably named build directories and I cannot find a way to set
> CCACHE_BASEDIR properly.  Could you consider to provide a way to set an
> environment variable to the current build directory?

Is this documentation not working for you:

https://wiki.debian.org/sbuild#Using_.22ccache.22_with_sbuild

If you just need a stable build path, is the --build-path option not working
for you?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160114/47198a4e/attachment.sig>


More information about the Buildd-tools-devel mailing list