Documentation Home
MySQL Internals Manual

MySQL Internals Manual  /  ...  /  Building Using the Same Options as MySQL Official Releases

4.3.3 Building Using the Same Options as MySQL Official Releases

Official MySQL releases add some compiler options. Also, some storage engines are linked statically into mysqld (for example, ARCHIVE). These build options for official releases are stored in cmake/build_configurations/mysql_release.cmake. To use them, use the -DBUILD_CONFIG=mysql_release CMake option:

  • Unix (Makefiles)

    mkdir bld
    cd bld
    cmake .. -DBUILD_CONFIG=mysql_release
  • Visual Studio (from the command line)

    mkdir bld
    cd bld
    cmake .. -DBUILD_CONFIG=mysql_release
    devenv mysql.sln /build relwithdebinfo

On Linux, the offical release requires libaio to be installed on the build machine. For example:

  • RedHat/Fedora

    sudo yum install libaio-devel
  • Debian/Ubuntu

    sudo apt-get install libaio-dev

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.