Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions build_automation/cloudberry/scripts/configure-cloudberry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,14 @@
#
# When true, enables:
# --enable-debug
# --enable-profiling
# --enable-cassert
# --enable-debug-extensions
#
# ENABLE_PROFILING - Enable profiling options (default is false)
#
# When true, enables:
# --enable-profiling
#
# Prerequisites:
# - System dependencies must be installed:
# * xerces-c development files
Expand Down Expand Up @@ -119,11 +123,15 @@ CONFIGURE_DEBUG_OPTS=""

if [ "${ENABLE_DEBUG:-false}" = "true" ]; then
CONFIGURE_DEBUG_OPTS="--enable-debug \
--enable-profiling \
--enable-cassert \
--enable-debug-extensions"
fi

CONFIGURE_PROFILING_OPTS=""
if [ "${ENABLE_PROFILING:-false}" = "true" ]; then
CONFIGURE_PROFILING_OPTS="--enable-profiling"
fi

# Configure build
log_section "Configure"
execute_cmd ./configure --prefix=/usr/local/cloudberry-db \
Expand All @@ -136,6 +144,7 @@ execute_cmd ./configure --prefix=/usr/local/cloudberry-db \
--enable-pxf \
--enable-tap-tests \
${CONFIGURE_DEBUG_OPTS} \
${CONFIGURE_PROFILING_OPTS} \
--with-gssapi \
--with-ldap \
--with-libxml \
Expand Down