Feature/sangshuduo/td 3973 use jemalloc (#7071)
* [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. * add ldconfig for jemalloc library cache refresh. * add /etc/ld.so.conf.d/jemalloc.conf for centos * check ver comp by file. * fix makeclient.sh * fix install script typo mistake. * change minimal compatible version back to 2.0.0.0 Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
parent
6f4257aa9a
commit
ef8bd46b49
|
@ -10,7 +10,7 @@ ENDIF ()
|
||||||
IF (DEFINED VERCOMPATIBLE)
|
IF (DEFINED VERCOMPATIBLE)
|
||||||
SET(TD_VER_COMPATIBLE ${VERCOMPATIBLE})
|
SET(TD_VER_COMPATIBLE ${VERCOMPATIBLE})
|
||||||
ELSE ()
|
ELSE ()
|
||||||
SET(TD_VER_COMPATIBLE "1.0.0.0")
|
SET(TD_VER_COMPATIBLE "2.0.0.0")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
find_program(HAVE_GIT NAMES git)
|
find_program(HAVE_GIT NAMES git)
|
||||||
|
|
|
@ -777,7 +777,7 @@ function is_version_compatible() {
|
||||||
if [ -f ${script_dir}/driver/vercomp.txt ]; then
|
if [ -f ${script_dir}/driver/vercomp.txt ]; then
|
||||||
min_compatible_version=`cat ${script_dir}/driver/vercomp.txt`
|
min_compatible_version=`cat ${script_dir}/driver/vercomp.txt`
|
||||||
else
|
else
|
||||||
min_compatible_version=$(${script_dir}/bin/tqd -V | head -1 | cut -d ' ' -f 5)
|
min_compatible_version=$(${script_dir}/bin/taosd -V | head -1 | cut -d ' ' -f 5)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
vercomp $curr_version $min_compatible_version
|
vercomp $curr_version $min_compatible_version
|
||||||
|
|
|
@ -746,7 +746,7 @@ function is_version_compatible() {
|
||||||
if [ -f ${script_dir}/driver/vercomp.txt ]; then
|
if [ -f ${script_dir}/driver/vercomp.txt ]; then
|
||||||
min_compatible_version=`cat ${script_dir}/driver/vercomp.txt`
|
min_compatible_version=`cat ${script_dir}/driver/vercomp.txt`
|
||||||
else
|
else
|
||||||
min_compatible_version=$(${script_dir}/bin/tqd -V | head -1 | cut -d ' ' -f 5)
|
min_compatible_version=$(${script_dir}/bin/powerd -V | head -1 | cut -d ' ' -f 5)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
vercomp $curr_version $min_compatible_version
|
vercomp $curr_version $min_compatible_version
|
||||||
|
|
Loading…
Reference in New Issue