Created
October 26, 2016 21:27
-
-
Save nirbhayc/1e31bb11ae00b16b7066b2e291ffab47 to your computer and use it in GitHub Desktop.
Building mariadb-myrocks from source.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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