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

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,7 @@ function print_help()
-3rd|--binarylib_dir the directory of third party binarylibs.
-pkg|--package provode type of installation packages, values parameter is server.
-m|--version_mode this values of paramenter is debug, release, memcheck, the default value is release.
-pm|--product_mode this values of paramenter is opengauss or lite, the default value is opengauss.
-pm|--product_mode this values of paramenter is opengauss or lite or finance, the default value is opengauss.
"
}

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

File diff suppressed because it is too large Load Diff