summaryrefslogtreecommitdiff
path: root/.travis.compiler.sh
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2017-11-23 19:13:12 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-12-29 19:38:29 +0200
commitb443c0e0566ba1d57e0c1d05c0fc5a6f4bc2357f (patch)
treecd256457ecc5949bac4ba101d5ae2e552896783c /.travis.compiler.sh
parent7a66e0ab8f52f3bd32850463daa05f9a2401e6b1 (diff)
downloadmariadb-git-b443c0e0566ba1d57e0c1d05c0fc5a6f4bc2357f.tar.gz
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.
Diffstat (limited to '.travis.compiler.sh')
-rwxr-xr-x.travis.compiler.sh7
1 files changed, 7 insertions, 0 deletions
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"