Scripts to build mysqld with a custom clang compiler, additional compiler options and feedback directed optimizations. Also includes benchmarking using sysbench oltp_* scripts.
- Download mysql-server-mysql-8.0.21
a. git clone [email protected]:mysql/mysql-server.git
b. git fetch --all --tags
c. git checkout tags/mysql-8.0.21 -b mysql-8.0.21-branch - Patch the cmake files using
lld_build.patch
provided. - Install prerequisites: sysbench libssl-dev bison.
- Copy the makefile into a new directory in the root of mysql source.
- Build the fdo optimized version using
make pgo-vanilla-mysqld