Created
July 2, 2024 17:14
-
-
Save mdcallag/88041ba6343785da23b867e84603376c to your computer and use it in GitHub Desktop.
This file contains 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
--- CMake using -O2 | |
BF=" -g1 -fno-omit-frame-pointer " | |
CF=" $BF " | |
CXXF=" $BF " | |
cmake .. \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DWITH_SSL=system \ | |
-DWITH_ZLIB=bundled \ | |
-DMYSQL_MAINTAINER_MODE=0 \ | |
-DENABLED_LOCAL_INFILE=1 \ | |
-DCMAKE_INSTALL_PREFIX=$1 \ | |
-DWITH_BOOST=$PWD/../boost \ | |
-DCMAKE_CXX_FLAGS="$CXXF" -DCMAKE_C_FLAGS="$CF" \ | |
-DCMAKE_C_FLAGS_RELEASE="-O2 -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-O2 -DNDEBUG" \ | |
-DWITH_NUMA=ON -DWITH_ROUTER=OFF -DWITH_MYSQLX=OFF -DWITH_UNIT_TESTS=OFF | |
--- CMake using -Os | |
BF=" -g1 -fno-omit-frame-pointer " | |
CF=" $BF " | |
CXXF=" $BF " | |
cmake .. \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DWITH_SSL=system \ | |
-DWITH_ZLIB=bundled \ | |
-DMYSQL_MAINTAINER_MODE=0 \ | |
-DENABLED_LOCAL_INFILE=1 \ | |
-DCMAKE_INSTALL_PREFIX=$1 \ | |
-DWITH_BOOST=$PWD/../boost \ | |
-DCMAKE_CXX_FLAGS="$CXXF" -DCMAKE_C_FLAGS="$CF" \ | |
-DCMAKE_C_FLAGS_RELEASE="-Os -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-Os -DNDEBUG" \ | |
-DWITH_NUMA=ON -DWITH_ROUTER=OFF -DWITH_MYSQLX=OFF -DWITH_UNIT_TESTS=OFF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment