Facebook Patch for MySQL 8.0 macOS build - laurynas-biveinis/mysql-5.6 GitHub Wiki
Oracle MySQL 8.0 CMake options
For Oracle, Homebrew Boost installation takes precedence over -DWITH_BOOST=...
option, and the build fails if the Homebrew Boost version is incompatible. A workaround is brew unlink boost
, file a bug with Oracle.
Instructions at https://github.com/facebook/mysql-5.6/wiki/Build-Steps seem to be 5.6-centric, but this will be clear after 8.0 Linux build.
CMake options: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_SYSTEM_LIBS=ON -DMYSQL_MAINTAINER_MODE=ON -DDOWNLOAD_BOOST=ON -DWITH_BOOST=... -DWITH_ICU=/usr/local/opt/icu4c -DCMAKE_CXX_FLAGS="-Wno-shadow-field" -DCMAKE_C_FLAGS="-Wno-shadow-field" -DCMAKE_CXX_FLAGS_DEBUG="-Wno-shadow-field" -DCMAKE_C_FLAGS_DEBUG="-Wno-shadow-field" -DWITH_LZ4=bundled
Patches needed:
- https://github.com/mysql/mysql-server/commit/94f20d5cbbe1831cb77daa4ff648bbd8f201b6b6
- https://github.com/MariaDB/server/commit/b64910ce27a4df33e3ad2e3f40764e8b3271a9aa for https://jira.mariadb.org/browse/MDEV-12452
- ...
The patches fix https://jira.percona.com/browse/PS-2285