diff -crN '--exclude=.git' '--exclude=.gitee' '--exclude=.vscode' openGauss-server/build/script/gaussdb.ver openGauss-server-edit/build/script/gaussdb.ver *** openGauss-server/build/script/gaussdb.ver 2023-11-28 21:45:24.744296059 +0800 --- openGauss-server-edit/build/script/gaussdb.ver 2023-11-28 21:47:40.697884019 +0800 *************** *** 1,2 **** ! PRODUCT=openGauss ! VERSION=5.0.1 \ No newline at end of file --- 1,2 ---- ! PRODUCT=openGauss_finance ! VERSION=5.0.1 diff -crN '--exclude=.git' '--exclude=.gitee' '--exclude=.vscode' openGauss-server/build/script/utils/make_compile.sh openGauss-server-edit/build/script/utils/make_compile.sh *** openGauss-server/build/script/utils/make_compile.sh 2023-11-28 21:45:24.744296059 +0800 --- openGauss-server-edit/build/script/utils/make_compile.sh 2023-11-28 21:47:22.861675690 +0800 *************** *** 134,142 **** echo "WARNING: do not separate symbol in debug mode!" fi ! if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" ]; then ! die "the product mode can only be opengauss, lite!" ! fi #configure make distclean -sj >> "$LOG_FILE" 2>&1 --- 134,142 ---- echo "WARNING: do not separate symbol in debug mode!" fi ! # if [ "$product_mode" != "opengauss" -a "$product_mode" != "lite" ]; then ! # die "the product mode can only be opengauss, lite!" ! # fi #configure make distclean -sj >> "$LOG_FILE" 2>&1 *************** *** 183,189 **** ./configure $shared_opt CFLAGS="-O0 ${GAUSSDB_EXTRA_FLAGS}" --enable-debug --enable-cassert CC=g++ $extra_config_opt --enable-lite-mode>> "$LOG_FILE" 2>&1 fi elif [ "$product_mode"x == "finance"x ]; then ! shared_opt="--gcc-version=${gcc_version}.${gcc_sub_version} --prefix="${BUILD_DIR}" --3rd=${binarylib_dir} --enable-thread-safety ${enable_readline} ${with_tassl} --without-zlib --without-gssapi --without-krb5" if [ "$version_mode"x == "release"x ]; then # configure -D__USE_NUMA -D__ARM_LSE with arm single mode if [ "$PLATFORM_ARCH"X == "aarch64"X ] ; then --- 183,189 ---- ./configure $shared_opt CFLAGS="-O0 ${GAUSSDB_EXTRA_FLAGS}" --enable-debug --enable-cassert CC=g++ $extra_config_opt --enable-lite-mode>> "$LOG_FILE" 2>&1 fi elif [ "$product_mode"x == "finance"x ]; then ! shared_opt="--gcc-version=${gcc_version}.0 --prefix="${BUILD_DIR}" --3rd=${binarylib_dir} --enable-thread-safety ${enable_readline} ${with_tassl} --without-zlib --without-gssapi --without-krb5" if [ "$version_mode"x == "release"x ]; then # configure -D__USE_NUMA -D__ARM_LSE with arm single mode if [ "$PLATFORM_ARCH"X == "aarch64"X ] ; then diff -crN '--exclude=.git' '--exclude=.gitee' '--exclude=.vscode' openGauss-server/build.sh openGauss-server-edit/build.sh *** openGauss-server/build.sh 2023-11-28 21:45:24.744296059 +0800 --- openGauss-server-edit/build.sh 2023-11-28 21:47:49.673988861 +0800 *************** *** 81,94 **** echo "ROOT_DIR : $ROOT_DIR" cd build/script chmod a+x build_opengauss.sh ! ./build_opengauss.sh -m ${build_version_mode} -3rd ${build_binarylib_dir} ${not_optimized} -pkg server if [ "${wrap_binaries}"X = "YES"X ] then chmod a+x package_opengauss.sh if [ X$config_file = "X" ];then ! ./package_opengauss.sh -3rd ${build_binarylib_dir} -m ${build_version_mode} else ! ./package_opengauss.sh -3rd ${build_binarylib_dir} -m ${build_version_mode} -f ${config_file} fi fi exit 0 --- 81,94 ---- echo "ROOT_DIR : $ROOT_DIR" cd build/script chmod a+x build_opengauss.sh ! ./build_opengauss.sh -m ${build_version_mode} -3rd ${build_binarylib_dir} ${not_optimized} -pkg server -pm finance if [ "${wrap_binaries}"X = "YES"X ] then chmod a+x package_opengauss.sh if [ X$config_file = "X" ];then ! ./package_opengauss.sh -3rd ${build_binarylib_dir} -m ${build_version_mode} -pm finance else ! ./package_opengauss.sh -3rd ${build_binarylib_dir} -m ${build_version_mode} -f ${config_file} -pm finance fi fi exit 0