diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2012-12-10 17:55:23 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-12-17 12:08:55 +0000 |
commit | f19efa182d0e53d97e163f980d6e221c55dd9c9b (patch) | |
tree | 0989586ca1ee444ceb538fcd1cf24e8eb8577dc9 /morphlib/buildenvironment_tests.py | |
parent | ac1cd545050a4aaa61e5b3f1dda5e278ba5e40b1 (diff) | |
download | morph-f19efa182d0e53d97e163f980d6e221c55dd9c9b.tar.gz |
Add support for ccache
This is set up so that each individual project repository has its own
ccache, all under one defined directory.
The top-level ccache directory is added as the setting
'compiler-cache-dir', and defaults to $cachedir/ccache.
When a build is performed, this will bind-mount a project's ccache into
the /tmp/ccache of the staging-area and set up the environment variables
so that ccache will be used (if appropriate executables are installed
to /usr/lib/ccache in the staging-area).
In addition, this removes code for ccache-remotedir, as it is unrelated
to this implementation of ccache.
Reviewed-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
Diffstat (limited to 'morphlib/buildenvironment_tests.py')
0 files changed, 0 insertions, 0 deletions