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:
parent
7a80bf0417
commit
7d9efc95a2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue