Skip to content

Instantly share code, notes, and snippets.

@nirbhayc
Created October 26, 2016 21:27
Show Gist options
  • Save nirbhayc/1e31bb11ae00b16b7066b2e291ffab47 to your computer and use it in GitHub Desktop.
Save nirbhayc/1e31bb11ae00b16b7066b2e291ffab47 to your computer and use it in GitHub Desktop.
Building mariadb-myrocks from source.
1) Patch (ssh to https) : https://gist.github.com/nirbhayc/b5487506f53a66cc087c52c631b05d6a
2) sudo apt-get install g++ cmake libbz2-dev libaio-dev bison zlib1g-dev libsnappy-dev libgflags-dev \
libreadline6-dev libncurses5-dev libssl-dev liblz4-dev gdb git
3) git submodule init
4) git submodule update
5) mkdir b install
6) cd b
7) cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_SSL=system -DWITH_ZLIB=bundled -DMYSQL_MAINTAINER_MODE=1 \
-DENABLE_DTRACE=0 -DWITHOUT_TOKUDB_STORAGE_ENGINE=1 -DCMAKE_INSTALL_PREFIX=../install && make -j2 install
** Note: -DWITHOUT_TOKUDB_STORAGE_ENGINE=1 added to avoid MDEV-10788
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment