summaryrefslogtreecommitdiff
path: root/.travis.compiler.sh
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2017-03-17 13:09:00 +1100
committerSergey Vojtovich <svoj@mariadb.org>2017-04-06 11:26:34 -0400
commit837fa86cf0291b5c918c812241f8f850cd603a99 (patch)
treeb29b195688b39a6d7a4ad4b62b5477dc74239c5e /.travis.compiler.sh
parentcfd9a75c23e9f3a5963af4b3ce7bd3f1f85d3a61 (diff)
downloadmariadb-git-837fa86cf0291b5c918c812241f8f850cd603a99.tar.gz
Travis: add ccache for clang
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
Diffstat (limited to '.travis.compiler.sh')
-rwxr-xr-x.travis.compiler.sh2
1 files changed, 1 insertions, 1 deletions
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}