1
1
openmpi/contrib/greenplum/nconfig

13 строки
539 B
Plaintext
Исходник Обычный вид История

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