You can install the necessary dependencies using either MacPorts or Homebrew.
sudo port -v selfupdate
sudo port install cmake jemalloc judy openssl boost gnutls
brew install cmake jemalloc traildb/judy/judy openssl boost gnutls
Your Mac should now have everything it needs to get, compile, and otherwise work with the MariaDB source code. The next step is to actually get a copy of the code. For help with this see the Getting the MariaDB Source Code page.
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/Build_Environment_Setup_for_Mac/