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: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
Shuduo Sang 2021-07-06 18:31:38 +08:00 committed by GitHub
parent 7a80bf0417
commit 7d9efc95a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -754,6 +754,7 @@ function update_tq() {
fi
install_jemalloc
tar -zxf tq.tar.gz
install_jemalloc
# Check if version compatible
if ! is_version_compatible; then