diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2019-09-03 15:26:44 +0200 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-09-10 14:14:32 +0100 |
commit | bcfbf0d56e9fc9c716a88bc8862004b1b90d7a6e (patch) | |
tree | e3482be71cc5bc5c772db14ee08ec1e0f24b82e4 /po | |
parent | c1073e44b46490133e16420e1784dec7bcd4e030 (diff) |
.travis.yml: Improve ccache use
Per https://ccache.dev/manual/latest.html:
By default, ccache tries to give as few false cache hits as
possible. However, in certain situations it’s possible that
you know things that ccache can’t take for granted.
[The CCACHE_SLOPINESS environment variable] makes it possible
to tell ccache to relax some checks in order to increase the
hit rate.
We can relax the ctime/mtime header checks:
- include_file_ctime
By default, ccache also will not cache a file if it
includes a header whose ctime is too new. This option
disables that check.
- include_file_mtime
By default, ccache will not cache a file if it includes
a header whose mtime is too new. This option disables
that check.
We also add a call to clear the cache statistics before running
the build, and display them when the build finishes.
See https://docs.travis-ci.com/user/caching/#ccache-cache
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions