...
Creating rpm package - CentOS 6 (GPDB 4.3, 4.3Orca3 Orca, HAWQ 2.2, Postgres 9.5, 9.6)
...
Example:
cmake -DHAWQ_2_PG_CONFIG=/datausr/home/gpadminlocal/hawq-2.0.0.0/bin/pg_config \
-DGREENPLUM_4_3ORCA_PG_CONFIG=/datausr/gpdbchinalocal/gpdb-4.3.10.0ORCA0-build-1/greenplum-db/./ORCA/bin/pg_config \
-DGREENPLUM_4_3_PG_CONFIG=/datausr/gpdbchinalocal/gpdb-4.3.0.0-build-3/greenplum-db/./bin/pg_config \
-DGREENPLUM_4_2_PG_CONFIG=/data/gpdbchina/4230-build-1/greenplum-db/./bin/pg_config \
-DPOSTGRESQL_9_6_PG_CONFIG=/datausr/gpdbchinalocal/postgresql-9.6/postgresdb/bin/pg_config \
-DPOSTGRESQL_9_5_PG_CONFIG=/datausr/gpdbchinalocal/postgresql-9.5.0/postgresdb/bin/pg_config \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local/madlib
...