diff --git a/build/script/aarch64_opengauss_list b/build/script/aarch64_opengauss_list index 811419bb9..bf5741dbd 100644 --- a/build/script/aarch64_opengauss_list +++ b/build/script/aarch64_opengauss_list @@ -45,6 +45,8 @@ ./bin/server.key.cipher ./bin/server.key.rand ./bin/gs_plan_simulator.sh +./bin/pg_xlogdump +./bin/pagehack ./etc/kerberos/kadm5.acl ./etc/kerberos/kdc.conf ./etc/kerberos/krb5.conf diff --git a/build/script/utils/make_compile.sh b/build/script/utils/make_compile.sh index bdef4e9c1..8b10a9c7b 100644 --- a/build/script/utils/make_compile.sh +++ b/build/script/utils/make_compile.sh @@ -28,6 +28,9 @@ function read_gaussdb_version() PG_REG_TEST_ROOT="${ROOT_DIR}" ROACH_DIR="${ROOT_DIR}/distribute/bin/roach" MPPDB_DECODING_DIR="${ROOT_DIR}/contrib/mppdb_decoding" +XLOG_DUMP_DIR="${ROOT_DIR}/contrib/pg_xlogdump" +PAGE_HACK_DIR="${ROOT_DIR}/contrib/pagehack" + ################################### # get version number from globals.cpp @@ -266,6 +269,18 @@ function install_gaussdb() fi fi + cd "$XLOG_DUMP_DIR" + make clean >> "$LOG_FILE" 2>&1 + make -sj >> "$LOG_FILE" 2>&1 + make install -sj >> "$LOG_FILE" 2>&1 + echo "End make install xlog_dump" >> "$LOG_FILE" 2>&1 + + cd "$PAGE_HACK_DIR" + make clean >> "$LOG_FILE" 2>&1 + make -sj >> "$LOG_FILE" 2>&1 + make install -sj >> "$LOG_FILE" 2>&1 + echo "End make install pagehack" >> "$LOG_FILE" 2>&1 + chmod 444 ${BUILD_DIR}/bin/cluster_guc.conf dos2unix ${BUILD_DIR}/bin/cluster_guc.conf > /dev/null 2>&1 get_kernel_commitid diff --git a/build/script/x86_64_opengauss_list b/build/script/x86_64_opengauss_list index 4923cc08a..ae72548b1 100644 --- a/build/script/x86_64_opengauss_list +++ b/build/script/x86_64_opengauss_list @@ -45,6 +45,8 @@ ./bin/server.key.cipher ./bin/server.key.rand ./bin/gs_plan_simulator.sh +./bin/pg_xlogdump +./bin/pagehack ./etc/kerberos/kadm5.acl ./etc/kerberos/kdc.conf ./etc/kerberos/krb5.conf