From 837fa86cf0291b5c918c812241f8f850cd603a99 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 17 Mar 2017 13:09:00 +1100 Subject: [PATCH] Travis: add ccache for clang Signed-off-by: Daniel Black --- .travis.compiler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.compiler.sh b/.travis.compiler.sh index a6108545803..8ff13e834b5 100755 --- a/.travis.compiler.sh +++ b/.travis.compiler.sh @@ -5,7 +5,7 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' && "${CXX}" == 'clang++' ]]; then 5) MYSQL_BUILD_CXX=clang++-3.9;; 6) MYSQL_BUILD_CXX=clang++-4.0;; esac - export MYSQL_BUILD_CXX MYSQL_BUILD_CC=${MYSQL_BUILD_CXX/++/} + export MYSQL_BUILD_CXX MYSQL_BUILD_CC=${MYSQL_BUILD_CXX/++/} MYSQL_COMPILER_LAUNCHER=ccache elif [[ "${TRAVIS_OS_NAME}" == 'linux' && "${CXX}" == 'g++' ]]; then export MYSQL_BUILD_CXX=g++-${GCC_VERSION}; export MYSQL_BUILD_CC=gcc-${GCC_VERSION}