The instructions on this page will help you compile MariaDB from source. Links to more complete instructions for specific platforms can be found on the source page.
MariaDB 10.1 and above is compiled using cmake. You can configure your build simply by running cmake using special option, i.e.
cmake . -DWITHOUT_TOKUDB=1
To build and install MariaDB after running cmake use
make sudo make install
Note that building with MariaDB this way will disable tokuDB, till tokuDB becomes fully supported on musl.
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/building-mariadb-from-source-using-musl-based-gnulinux/