mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Lean down compilation when running travis with rpl
Disable tokudb compilation when doing rpl tests. This saves time and allows us to not timeout on travis.
This commit is contained in:
parent
7a66e0ab8f
commit
b443c0e056
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,10 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then
|
|||
export CXX CC=${CXX/++/}
|
||||
elif [[ "${CXX}" == 'g++' ]]; then
|
||||
CMAKE_OPT=""
|
||||
if [[ "${MYSQL_TEST_SUITES}" == 'rpl' ]]; then
|
||||
CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_TOKUDB_STORAGE_ENGINE=TRUE"
|
||||
CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_MROONGA_STORAGE_ENGINE=TRUE"
|
||||
fi
|
||||
export CXX=g++-${GCC_VERSION}
|
||||
export CC=gcc-${GCC_VERSION}
|
||||
fi
|
||||
|
@ -33,6 +37,9 @@ else
|
|||
if which ccache ; then
|
||||
CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
|
||||
fi
|
||||
if [[ "${MYSQL_TEST_SUITES}" == 'rpl' ]]; then
|
||||
CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_TOKUDB_STORAGE_ENGINE=ON"
|
||||
fi
|
||||
CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_MROONGA_STORAGE_ENGINE=ON"
|
||||
if [[ "${TYPE}" == "Debug" ]]; then
|
||||
CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_TOKUDB_STORAGE_ENGINE=ON"
|
||||
|
|
Loading…
Reference in a new issue