content_image/701750.jpg content_image/701751.jpg
incorrect ICU version installed on the system. (Another permitted way to do the same thing is to set WITH_ICU  to system  and set the CMAKE_PREFIX_PATH  option to path_name .) 

• -DWITH_INNODB_EXTRA_DEBUG= bool 

Whether to include extra InnoDB debugging support. 

Enabling WITH_INNODB_EXTRA_DEBUG  turns on extra InnoDB debug checks. This option can only be enabled when WITH_DEBUG  is enabled. 

• -DWITH_INNODB_MEMCACHED= bool 

Whether to generate memcached shared libraries ( libmemcached.so  and innodb_engine.so ). 

• -DWITH_JEMALLOC= bool 

Whether to link with -ljemalloc . If enabled, built-in malloc() , calloc() , realloc() , and free() routines are disabled. The default is OFF . 

WITH_JEMALLOC  and WITH_TCMALLOC  are mutually exclusive. 

This option was added in MySQL 8.0.16. 

• -DWITH_KEYRING_TEST= bool 

Whether to build the test program that accompanies the keyring_file  plugin. The default is OFF . Test file source code is located in the plugin/keyring/keyring-test  directory. 

• -DWITH_LIBEVENT= string 

Which libevent  library to use. Permitted values are bundled  (default) and system . Prior to MySQL 8.0.21, if you specify system , the system libevent  library is used if present, and an error occurs otherwise. In MySQL 8.0.21 and later, if system  is specified and no system libevent  library can be found, an error occurs regardless, and the bundled libevent  is not used. 

The libevent  library is required by InnoDB  memcached, X Plugin, and MySQL Router. 

• -DWITH_LIBWRAP= bool 

Whether to include libwrap  (TCP wrappers) support. 

• -DWITH_LOCK_ORDER= bool 

Whether to enable LOCK_ORDER tooling. By default, this option is disabled and server builds contain no tooling. If tooling is enabled, the LOCK_ORDER tool is available and can be used as described in Section 5.9.3, “The LOCK_ORDER Tool” . 

<img src='content_image/701750.jpg'>

This option was added in MySQL 8.0.17. 

• -DWITH_LSAN= bool 

Whether to run LeakSanitizer, without AddressSanitizer. The default is OFF . 

This option was added in MySQL 8.0.16. 

<img src='content_image/701751.jpg'>

## Note 

With the WITH_LOCK_ORDER  option enabled, MySQL builds require the flex program. 

