From e1bf1aea5cd8f8b5a1b15fd2a8ca0b8205654431 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 6 May 2021 22:58:28 +0200 Subject: force jemalloc to be used in release rpm/deb builds unless explicitly overruled with -DWITH_JEMALLOC=no --- cmake/build_configurations/mysql_release.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake') diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake index efd736809e0..dadfc78e18b 100644 --- a/cmake/build_configurations/mysql_release.cmake +++ b/cmake/build_configurations/mysql_release.cmake @@ -97,11 +97,13 @@ ELSEIF(RPM) SET(WITH_ZLIB system CACHE STRING "") SET(CHECKMODULE /usr/bin/checkmodule CACHE FILEPATH "") SET(SEMODULE_PACKAGE /usr/bin/semodule_package CACHE FILEPATH "") + SET(WITH_JEMALLOC "yes" CACHE STRING "") ELSEIF(DEB) SET(WITH_SSL system CACHE STRING "") SET(WITH_ZLIB system CACHE STRING "") SET(WITH_LIBWRAP ON) SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON) + SET(WITH_JEMALLOC "yes" CACHE STRING "") ELSE() SET(WITH_SSL bundled CACHE STRING "") SET(WITH_PCRE bundled CACHE STRING "") -- cgit v1.2.1