fix 金融版本cmake 显示opengauss-finance标识

This commit is contained in:
liuheng
2023-12-14 09:39:05 +08:00
parent 49824ec77f
commit cfa95d248c
4 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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