fix 金融版本cmake 显示opengauss-finance标识
This commit is contained in:
@ -150,6 +150,7 @@ else
|
||||
if [ "$product_mode"x == "lite"x ]; then
|
||||
declare CMAKE_OPT="-DENABLE_MULTIPLE_NODES=OFF -DENABLE_PRIVATEGAUSS=OFF -DENABLE_THREAD_SAFETY=ON -DENABLE_LITE_MODE=ON ${extra_cmake_opt}"
|
||||
elif [ "$product_mode"x == "finance"x ]; then
|
||||
export ENABLE_FINANCE_MODE=ON
|
||||
declare CMAKE_OPT="-DENABLE_MULTIPLE_NODES=OFF -DENABLE_PRIVATEGAUSS=OFF -DENABLE_THREAD_SAFETY=ON -DENABLE_FINANCE_MODE=ON ${extra_cmake_opt}"
|
||||
else
|
||||
declare CMAKE_OPT="-DENABLE_MULTIPLE_NODES=OFF -DENABLE_THREAD_SAFETY=ON -DENABLE_MOT=ON ${extra_cmake_opt}"
|
||||
|
||||
@ -445,7 +445,6 @@ function install_gaussdb()
|
||||
export THIRD_BIN_PATH="${binarylibs_path}"
|
||||
export PREFIX_HOME="${BUILD_DIR}"
|
||||
export ENABLE_LITE_MODE=ON
|
||||
export ENABLE_FINANCE_MODE=ON
|
||||
|
||||
export WITH_TASSL="${build_with_tassl}"
|
||||
|
||||
|
||||
@ -145,7 +145,7 @@ function install_gaussdb()
|
||||
fi
|
||||
|
||||
if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" -a "$product_mode" != "finance" ]; then
|
||||
die "the product mode can only be opengauss, lite!"
|
||||
die "the product mode can only be opengauss, lite, finance!"
|
||||
fi
|
||||
|
||||
echo "build gaussdb kernel." >> "$LOG_FILE" 2>&1
|
||||
|
||||
@ -135,7 +135,7 @@ function install_gaussdb()
|
||||
fi
|
||||
|
||||
if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" -a "$product_mode" != "finance" ]; then
|
||||
die "the product mode can only be opengauss, lite!"
|
||||
die "the product mode can only be opengauss, lite, finance!"
|
||||
fi
|
||||
|
||||
#configure
|
||||
|
||||
Reference in New Issue
Block a user