未验证 提交 7d9efc95 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Feature/sangshuduo/td 3973 use jemalloc (#6766)

* [TD-3973]<feature>: add jemalloc as submodule.

* add macro definitions in cmake.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* link jemalloc works.

* make install works.

* support jemalloc in release.sh.

* release script works.

* fix a typo.

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

* adjust install_jemalloc() position for update check compatiblity.

* fix position bug.
Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
上级 7a80bf04
...@@ -785,6 +785,7 @@ function update_TDengine() { ...@@ -785,6 +785,7 @@ function update_TDengine() {
fi fi
install_jemalloc install_jemalloc
tar -zxf taos.tar.gz tar -zxf taos.tar.gz
install_jemalloc
# Check if version compatible # Check if version compatible
if ! is_version_compatible; then if ! is_version_compatible; then
......
...@@ -754,6 +754,7 @@ function update_PowerDB() { ...@@ -754,6 +754,7 @@ function update_PowerDB() {
fi fi
install_jemalloc install_jemalloc
tar -zxf power.tar.gz tar -zxf power.tar.gz
install_jemalloc
# Check if version compatible # Check if version compatible
if ! is_version_compatible; then if ! is_version_compatible; then
......
...@@ -754,6 +754,7 @@ function update_tq() { ...@@ -754,6 +754,7 @@ function update_tq() {
fi fi
install_jemalloc install_jemalloc
tar -zxf tq.tar.gz tar -zxf tq.tar.gz
install_jemalloc
# Check if version compatible # Check if version compatible
if ! is_version_compatible; then if ! is_version_compatible; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册