From e7d08b3d225abf15fafa099c176a7390845b38d5 Mon Sep 17 00:00:00 2001 From: Xin Zhang Date: Fri, 29 Jan 2016 05:09:07 -0800 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e20a4cb6ea..d36b5e7162 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ throughout the codebase, but a few larger additions worth noting: FTS is a process that runs in the master node, and periodically polls the segments to maintain the status of each segment. -## Basic GPDB source configuration, compilation, gpdemo cluster creation and test execution example +## Build GPDB with Planner ``` # Configure build environment to install at /usr/local/gpdb @@ -124,6 +124,26 @@ make cluster source gpdemo-env.sh ``` +## Build GPDB with GPORCA + +``` +# Configure build environment to install at /usr/local/gpdb +./configure --enable-orca --with-perl --with-python --with-libxml --prefix=/usr/local/gpdb + +# Compile and install +make +make install + +# Bring in greenplum environment into your running shell +source /usr/local/gpdb/greenplum_path.sh + +# Start demo cluster (gpdemo-env.sh is created which contain +# __PGPORT__ and __MASTER_DATA_DIRECTORY__ values) +cd gpAux/gpdemo +make cluster +source gpdemo-env.sh +``` + ## Regression tests * The default regression tests -- GitLab