# Compiling MariaDB with Extra Modules/Options

- [Specifying Which Plugins to Build](/docs/server/server-management/install-and-upgrade-mariadb/compiling-mariadb-from-source/compiling-mariadb-with-extra-modulesoptions/specifying-which-plugins-to-build.md): Explains how to use CMake options like \`PLUGIN\_xxx\` to control which plugins are built statically, dynamically, or not at all during compilation.
- [Using MariaDB with TCMalloc or jemalloc](/docs/server/server-management/install-and-upgrade-mariadb/compiling-mariadb-from-source/compiling-mariadb-with-extra-modulesoptions/using-mariadb-with-tcmalloc-or-jemalloc.md): Instructions on building and configuring MariaDB to use alternative memory allocators like TCMalloc or jemalloc for improved performance and profiling.
