From 1d25f5f6be26356aca54f98bc0836848cc381ccc Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Tue, 6 Jul 2021 18:30:52 +0800 Subject: [PATCH] Hotfix/sangshuduo/td 3973 use jemalloc for master (#6765) * [TD-3973]: add jemalloc as submodule. * [TD-3973]: add jemalloc as submodule. * [TD-3973]: use jemalloc. build works as following instructions: cmake .. -DJEMALLOC_ENABLED=true make * fix jemalloc at tag 5.2.1 * fix conflicts * make install works. * fix conflicts. * release script works. * fix typo * [TD-3937]: support jemalloc add install funtion to all scripts. * adjust install_jemalloc() position for check compatibility. * fix position bug. Co-authored-by: Shuduo Sang --- packaging/tools/install.sh | 1 + packaging/tools/install_power.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index 7adeec487b..226e09d846 100755 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -785,6 +785,7 @@ function update_TDengine() { fi install_jemalloc tar -zxf taos.tar.gz + install_jemalloc # Check if version compatible if ! is_version_compatible; then diff --git a/packaging/tools/install_power.sh b/packaging/tools/install_power.sh index b21d609e14..e6941301c1 100755 --- a/packaging/tools/install_power.sh +++ b/packaging/tools/install_power.sh @@ -754,6 +754,7 @@ function update_PowerDB() { fi install_jemalloc tar -zxf power.tar.gz + install_jemalloc # Check if version compatible if ! is_version_compatible; then -- GitLab