diff --git a/concourse/scripts/compile_gpdb_open_source_centos.bash b/concourse/scripts/compile_gpdb_open_source_centos.bash index 1d024c98abc6662b1e23046c098ee68f7415c118..4dbf06a388f358a9dd840ab9b9a3202d6a9b4b02 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 d906d2d37139452d823d6ed787dcd8270ca5aaf1..73a1673032b580be0e3272732c9583d35755af8f 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