Skip to content

Commit

Permalink
Travis: add ccache for clang
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
  • Loading branch information
grooverdan authored and Sergey Vojtovich committed Apr 6, 2017
1 parent cfd9a75 commit 837fa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.compiler.sh
Expand Up @@ -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}
Expand Down

0 comments on commit 837fa86

Please sign in to comment.