fix 用脚本编译金融版本

This commit is contained in:
liuheng
2023-12-07 16:53:09 +08:00
parent 01b191f057
commit 2eab6ccb04
7 changed files with 2931 additions and 10 deletions

View File

@ -144,7 +144,7 @@ function install_gaussdb()
echo "WARNING: do not separate symbol in debug mode!"
fi
if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" ]; then
if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" -a "$product_mode" != "finance" ]; then
die "the product mode can only be opengauss, lite!"
fi

View File

@ -134,7 +134,7 @@ function install_gaussdb()
echo "WARNING: do not separate symbol in debug mode!"
fi
if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" ]; then
if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" -a "$product_mode" != "finance" ]; then
die "the product mode can only be opengauss, lite!"
fi
@ -201,7 +201,7 @@ function install_gaussdb()
elif [ "$version_mode"x == "memcheck"x ]; then
./configure $shared_opt CFLAGS='-O0' --enable-debug --enable-cassert --enable-memory-check CC=g++ $extra_config_opt --enable-finance-mode >> "$LOG_FILE" 2>&1
else
./configure $shared_opt CFLAGS="-O0 ${GAUSSDB_EXTRA_FLAGS}" --enable-debug --enable-cassert CC=g++ $extra_config_opt --enable-finance-mode>> "$LOG_FILE" 2>&1
./configure $shared_opt CFLAGS="-O0 ${GAUSSDB_EXTRA_FLAGS}" --enable-debug --enable-cassert CC=g++ $extra_config_opt --enable-finance-mode>> "$LOG_FILE" 2>&1
fi
fi