HomePhabricator

ci: add ccache support

Authored by zmike on Jul 10 2018, 3:43 PM.

Description

ci: add ccache support

this enables and implements full support for ccache on travis builds

fix T7126

Differential Revision: https://phab.enlightenment.org/D6605

also includes previously-submitted patches

ci: split out ccache config setup into separate script

this provides a more unified place to set ccache options

also enable ccache compression to cut down on cache upload/download overhead

ref D6613

ci: zero ccache stats before build and add some comments for options used

zeroing the stats before each build will provide more insight into the cache
performance for each build

ref D6621

ci: break out ccache stat printing into separate script

continue to make travis.yml more readable

ref D6622

ci: add more ccache config options to improve cache direct hits

ci: disable second cpp run for ccache

this should avoid running cpp twice for files

https://ccache.samba.org/manual.html#_the_preprocessor_mode

Details

Committed
stefan_schmidtJul 25 2018, 11:55 PM
Differential Revision
D6605: ci: add ccache support
Parents
rEFL45988ac6c0c8: ci: refactor all build steps into separate build scripts
Branches
Unknown
Tags
Unknown
Tasks
T7126: ci should use ccache