Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created February 23, 2017 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdcallag/5c6be0902ede7da762f639940afd52b8 to your computer and use it in GitHub Desktop.
Save mdcallag/5c6be0902ede7da762f639940afd52b8 to your computer and use it in GitHub Desktop.
# 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