1
1

Rename the greenplum monitoring platform files. Add a configure script for that purpose

This commit was SVN r27978.
Этот коммит содержится в:
Ralph Castain 2013-01-30 00:18:31 +00:00
родитель 94a78dda0d
Коммит 1d38e58c26
5 изменённых файлов: 12 добавлений и 0 удалений

12
contrib/greenplum/nconfig Исполняемый файл
Просмотреть файл

@ -0,0 +1,12 @@
#!/bin/sh
if [ $# -lt 1 ] ; then
echo "usage: gpconfig -vpath <prefix>"
exit 1
fi
if [ $1 = "-vpath" ] ; then
../autogen.pl -no-ompi && ../configure --prefix=$1 --with-platform=../contrib/platform/greenplum/nmon/linux && rm -rf $1 && make clean > /dev/null && make -j6 all > /dev/null && make -j6 install > /dev/null
else
./autogen.pl -no-ompi && ./configure --prefix=$1 --with-platform=./contrib/platform/greenplum/nmon/linux && rm -rf $1 && make clean > /dev/null && make -j6 all > /dev/null && make -j6 install > /dev/null
fi