mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Travis: add ccache for clang
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
This commit is contained in:
parent
cfd9a75c23
commit
837fa86cf0
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' && "${CXX}" == 'clang++' ]]; then
|
||||||
5) MYSQL_BUILD_CXX=clang++-3.9;;
|
5) MYSQL_BUILD_CXX=clang++-3.9;;
|
||||||
6) MYSQL_BUILD_CXX=clang++-4.0;;
|
6) MYSQL_BUILD_CXX=clang++-4.0;;
|
||||||
esac
|
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
|
elif [[ "${TRAVIS_OS_NAME}" == 'linux' && "${CXX}" == 'g++' ]]; then
|
||||||
export MYSQL_BUILD_CXX=g++-${GCC_VERSION};
|
export MYSQL_BUILD_CXX=g++-${GCC_VERSION};
|
||||||
export MYSQL_BUILD_CC=gcc-${GCC_VERSION}
|
export MYSQL_BUILD_CC=gcc-${GCC_VERSION}
|
||||||
|
|
Loading…
Add table
Reference in a new issue