提交 894e0c4d 编写于 作者: K Kris Macoskey 提交者: Kristofer Macoskey

Format configure flags with newlines

Authored-by: NKris Macoskey <kmacoskey@pivotal.io>
上级 48efaa3e
......@@ -45,8 +45,15 @@ function install_system_deps() {
function build_gpdb() {
pushd gpdb_src
source /opt/gcc_env.sh
CC=$(which gcc) CXX=$(which g++) ./configure --enable-mapreduce --with-perl --with-libxml --with-extra-version="-oss" \
--disable-orca --with-python --disable-gpfdist --with-zstd --prefix=${GREENPLUM_INSTALL_DIR}
CC=$(which gcc) CXX=$(which g++) ./configure --with-extra-version="-oss" \
--with-perl \
--with-python \
--with-libxml \
--with-zstd \
--enable-mapreduce \
--disable-orca \
--disable-gpfdist \
--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
......
......@@ -31,13 +31,17 @@ function build_gpdb() {
# TODO: remove this flag after adding zstd to the ubuntu build images
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --without-zstd"
CWD=$(pwd)
LD_LIBRARY_PATH=${CWD}/depends/build/lib CC=$(which gcc) CXX=$(which g++) ./configure --enable-mapreduce --enable-orafce --with-gssapi --with-perl --with-libxml \
LD_LIBRARY_PATH=${CWD}/depends/build/lib CC=$(which gcc) CXX=$(which g++) ./configure --with-extra-version="-oss" \
--enable-mapreduce \
--enable-orafce \
--with-gssapi \
--with-perl \
--with-libxml \
--with-python \
--enable-debug-extensions \
--with-libraries=${CWD}/depends/build/lib \
--with-includes=${CWD}/depends/build/include \
--prefix=${GREENPLUM_INSTALL_DIR} \
--with-extra-version="-oss" \
${CONFIGURE_FLAGS}
make -j4 -s
LD_LIBRARY_PATH=${CWD}/depends/build/lib make install
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册