forked from openGauss-Ecosystem/openGauss-server
新增极简版和轻量版的区分标识
This commit is contained in:
parent
0387492fed
commit
b7c6ae6ac0
|
@ -442,6 +442,7 @@ function install_gaussdb()
|
|||
export BUILD_TUPLE=${PLATFORM_ARCH}
|
||||
export THIRD_BIN_PATH="${binarylibs_path}"
|
||||
export PREFIX_HOME="${BUILD_DIR}"
|
||||
export ENABLE_LITE_MODE=ON
|
||||
|
||||
if [ "$version_mode"x == "release"x ]; then
|
||||
CMAKE_OPT="-DENABLE_MULTIPLE_NODES=OFF -DENABLE_PRIVATEGAUSS=OFF -DENABLE_THREAD_SAFETY=ON -DENABLE_LITE_MODE=ON"
|
||||
|
|
|
@ -116,6 +116,9 @@ function get_gs_version()
|
|||
debug_str="$DEBUG_TYPE"
|
||||
product=$(cat build/script/gaussdb.ver | grep 'PRODUCT' | awk -F "=" '{print $2}')
|
||||
version=$(cat build/script/gaussdb.ver | grep 'VERSION' | awk -F "=" '{print $2}')
|
||||
if [ "${ENABLE_LITE_MODE}" == "ON" ]; then
|
||||
product="$product-lite"
|
||||
fi
|
||||
if test "$enable_ccache" = yes; then
|
||||
default_gs_version="(${product} ${version} build 1f1f1f1f) compiled at 2100-00-00 00:00:00 commit 9999 last mr 9999 debug"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue