Create a gist now

Instantly share code, notes, and snippets.

# cmake command line for MyRocks
WITH_SNAPPY=/usr/lib/x86_64-linux-gnu \
WITH_LZ4=/usr/lib/x86_64-linux-gnu \
WITH_ZSTD=/usr/lib/x86_64-linux-gnu \
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SSL=system -DWITH_ZLIB=bundled -DMYSQL_MAINTAINER_MODE=0 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DCMAKE_CXX_FLAGS="-march=native" -DCMAKE_INSTALL_PREFIX=$1
# cmake command line for upstream MySQL 5.6 and probably 5.7
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SSL=system -DWITH_ZLIB=bundled -DMYSQL_MAINTAINER_MODE=0 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DCMAKE_INSTALL_PREFIX=$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment