ci: add ccache support
authorMike Blumenkrantz <zmike@samsung.com>
Tue, 10 Jul 2018 22:43:55 +0000 (18:43 -0400)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 26 Jul 2018 08:26:36 +0000 (17:26 +0900)
commitaaf74acf7c666c58494060f8f4755577bfb91f87
tree1d27d1f3292fb903b4ab16a1dda4424085610567
parent4b305a2659dbc83a5f92ab40a5c304b669a6614c
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
.ci/ccache.conf [new file with mode: 0644]
.ci/ci-ccache-stats.sh [new file with mode: 0755]
.ci/ci-configure.sh
.ci/ci-make-distcheck.sh
.ci/ci-osx-deps.sh
.ci/ci-setup-ccache.sh [new file with mode: 0755]
.ci/docker-ccache-setup.sh [new file with mode: 0755]
.travis.yml