aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-07-17 18:43:18 +0200
committerDaniel Hahler <git@thequod.de>2019-07-17 19:41:19 +0200
commit353b3852fd03168585d868c5c7580e2f0599cb19 (patch)
tree6a5529605d286d9d6d7982c75f12bf2c888712be
parentb41507927b3773f6fd0de3bdcc72fb0417d1c909 (diff)
downloadrneovim-353b3852fd03168585d868c5c7580e2f0599cb19.tar.gz
rneovim-353b3852fd03168585d868c5c7580e2f0599cb19.tar.bz2
rneovim-353b3852fd03168585d868c5c7580e2f0599cb19.zip
ci: Travis: ccache: use CCACHE_HASHDIR [skip appveyor]
This is the default since ccache 3.3, but Travis has 3.2.4. This fixes compiler warnings from macros with later clang/gcc. Using CCACHE_HASHDIR=1 fixes ccache v3.2.4, but CCACHE_NOHASHDIR=1 does not break v3.7.1. The real issue/fix appears to be ccache/ccache@284e3a0, and using the hashdir option seems to only work around this. Unblocks https://github.com/neovim/neovim/pull/10480, and https://github.com/neovim/neovim/pull/10487. Ref: https://github.com/ccache/ccache/commit/6d9cb3dfdd9 Closes https://github.com/neovim/neovim/pull/10533.
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index d550a550d8..e6767404ae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -46,6 +46,8 @@ env:
- CCACHE_COMPRESS=1
- CCACHE_SLOPPINESS=time_macros,file_macro
- CCACHE_BASEDIR="$TRAVIS_BUILD_DIR"
+ # Default since 3.3, but Travis (Xenial) has 3.2.4; workaround (#10533).
+ - CCACHE_HASHDIR=1
anchors:
envs: &common-job-env