[Merge] ~3v1n0/ubuntu-dev-tools:ccache-support into ubuntu-dev-tools:master

Marco Trevisan (TreviƱo) mail at 3v1n0.net
Mon Apr 26 20:51:13 UTC 2021


The proposal to merge ~3v1n0/ubuntu-dev-tools:ccache-support into ubuntu-dev-tools:master has been updated.

Description changed to:

mk-sbuild: Add support to configure ccache for each schroot

ccache can help greatly in speeding up recompilations in sbuild, but it
is a bit annoying to configure at each schroot creation.

So, add --cache option (and relative CCACHE config parameter) to
configure ccache for sbuild schroots.

By default we use a shared ccache directory, but each schroot can use
a customized one if needed (with local parameters) by using --cache-dir
(or CCACHE_DIR).

Default ccache max-size is 4G, but can be configured with --ccache-size
(or CCACHE_SIZE), the size value is applied to each ccache path, so can
be shared by multiple schroots or applied to a single one.

--- 

An example, is for example running this all the times:

 sed -i s/enabled: true/enabled: false/ /etc/pkgbinarymangler/stripfiles.conf

For more details, see:
https://code.launchpad.net/~3v1n0/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/401817
-- 
Your team Ubuntu Development Team is requested to review the proposed merge of ~3v1n0/ubuntu-dev-tools:ccache-support into ubuntu-dev-tools:master.



More information about the Ubuntu-reviews mailing list