From b443c0e0566ba1d57e0c1d05c0fc5a6f4bc2357f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Thu, 23 Nov 2017 19:13:12 +0200 Subject: [PATCH] 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. --- .travis.compiler.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.compiler.sh b/.travis.compiler.sh index 13e35fffe87..db5c9ee01ce 100755 --- a/.travis.compiler.sh +++ b/.travis.compiler.sh @@ -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"