From 696c5c036be499d95fe217ea4602a4bc39f27bc7 Mon Sep 17 00:00:00 2001 From: hwhbj Date: Mon, 31 Jul 2023 09:57:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=9B=9E=E5=90=88]=E7=BC=96=E8=AF=91=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=A2=9E=E5=8A=A0assessment=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/script/aarch64_opengauss_list | 4 ++++ build/script/utils/make_compile.sh | 6 ++++++ build/script/x86_64_opengauss_list | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/build/script/aarch64_opengauss_list b/build/script/aarch64_opengauss_list index 06b39dad2..b7b71e975 100644 --- a/build/script/aarch64_opengauss_list +++ b/build/script/aarch64_opengauss_list @@ -47,6 +47,7 @@ ./bin/gs_plan_simulator.sh ./bin/pg_xlogdump ./bin/pagehack +./bin/assessment_database ./etc/kerberos/kadm5.acl ./etc/kerberos/kdc.conf ./etc/kerberos/krb5.conf @@ -76,6 +77,8 @@ ./share/postgresql/extension/dolphin--2.0--1.2.sql ./share/postgresql/extension/dolphin--1.2--2.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir +./share/postgresql/extension/assessment--1.0.sql +./share/postgresql/extension/assessment.control ./share/postgresql/extension/file_fdw--1.0.sql ./share/postgresql/extension/plpgsql.control ./share/postgresql/extension/dist_fdw.control @@ -770,6 +773,7 @@ ./lib/postgresql/postgres_fdw.so ./lib/postgresql/dblink.so ./lib/postgresql/pgoutput.so +./lib/postgresql/assessment.so ./lib/libpljava.so ./lib/libpq.a ./lib/libpq.so diff --git a/build/script/utils/make_compile.sh b/build/script/utils/make_compile.sh index 826382852..abcdad5f4 100644 --- a/build/script/utils/make_compile.sh +++ b/build/script/utils/make_compile.sh @@ -212,6 +212,12 @@ function install_gaussdb() make install -sj >> "$LOG_FILE" 2>&1 echo "End make install MPPDB" >> "$LOG_FILE" 2>&1 + ASSESSMENT_DIR=$ROOT_DIR/contrib/assessment + if [ -d $ASSESSMENT_DIR ]; then + cd $ASSESSMENT_DIR + make install >> "$LOG_FILE" 2>&1 + echo "End make install assessment" >> "$LOG_FILE" 2>&1 + fi cd "$ROOT_DIR" if [ "${make_check}" = 'on' ]; then diff --git a/build/script/x86_64_opengauss_list b/build/script/x86_64_opengauss_list index e4e0ec7a7..6d9b53b78 100644 --- a/build/script/x86_64_opengauss_list +++ b/build/script/x86_64_opengauss_list @@ -47,6 +47,7 @@ ./bin/gs_plan_simulator.sh ./bin/pg_xlogdump ./bin/pagehack +./bin/assessment_database ./etc/kerberos/kadm5.acl ./etc/kerberos/kdc.conf ./etc/kerberos/krb5.conf @@ -76,6 +77,8 @@ ./share/postgresql/extension/dolphin--2.0--1.2.sql ./share/postgresql/extension/dolphin--1.2--2.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir +./share/postgresql/extension/assessment--1.0.sql +./share/postgresql/extension/assessment.control ./share/postgresql/extension/file_fdw--1.0.sql ./share/postgresql/extension/plpgsql.control ./share/postgresql/extension/dist_fdw.control @@ -770,6 +773,7 @@ ./lib/postgresql/postgres_fdw.so ./lib/postgresql/dblink.so ./lib/postgresql/pgoutput.so +./lib/postgresql/assessment.so ./lib/libpljava.so ./lib/libpq.a ./lib/libpq.so