1
1
openmpi/contrib/greenplum/nconfig
2013-01-30 00:18:31 +00:00

13 строки
539 B
Bash
Исполняемый файл

#!/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