From 35c4addbb268d19092f70f9e5318748295ebfd75 Mon Sep 17 00:00:00 2001 From: David Kimura Date: Mon, 17 Sep 2018 15:18:51 -0700 Subject: [PATCH] Add installcheck-world target to zstd gpcontrib module Co-authored-by: Jesse Zhang --- concourse/scripts/compile_gpdb_open_source_centos.bash | 3 ++- gpcontrib/Makefile | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/concourse/scripts/compile_gpdb_open_source_centos.bash b/concourse/scripts/compile_gpdb_open_source_centos.bash index 1d024c98ab..4dbf06a388 100755 --- a/concourse/scripts/compile_gpdb_open_source_centos.bash +++ b/concourse/scripts/compile_gpdb_open_source_centos.bash @@ -30,6 +30,7 @@ function install_system_deps() { htop perl-Env perl-ExtUtils-Embed + libzstd-devel libxml2-devel libxslt-devel libffi-devel " @@ -47,7 +48,7 @@ function build_gpdb() { pushd gpdb_src source /opt/gcc_env.sh CC=$(which gcc) CXX=$(which g++) ./configure --enable-mapreduce --with-perl --with-libxml \ - --disable-orca --with-python --disable-gpfdist --prefix=${GREENPLUM_INSTALL_DIR} + --disable-orca --with-python --disable-gpfdist --with-zstd --prefix=${GREENPLUM_INSTALL_DIR} # Use -j4 to speed up the build. (Doesn't seem worth trying to guess a better # value based on number of CPUs or anything like that. Going above -j4 wouldn't # make it much faster, and -j4 is small enough to not hurt too badly even on diff --git a/gpcontrib/Makefile b/gpcontrib/Makefile index d906d2d371..73a1673032 100644 --- a/gpcontrib/Makefile +++ b/gpcontrib/Makefile @@ -86,6 +86,9 @@ installcheck: if [ "$(enable_mapreduce)" = "yes" ]; then \ $(MAKE) -C gpmapreduce installcheck; \ fi +ifeq "$(with_zstd)" "yes" + $(MAKE) -C zstd installcheck +endif if [ -d "$(ext_dir)" ]; then \ PATH=$(INSTLOC)/bin:$(PATH) $(MAKE) -C gphdfs installcheck USE_PGXS=1 ; \ fi -- GitLab