2011-08-19 08:05:34 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# sit class file
|
|
|
|
#
|
|
|
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
|
|
|
|
#
|
|
|
|
|
|
|
|
CATEGORY="mpi"
|
|
|
|
PACKAGE="openmpi"
|
|
|
|
VERSION="1.5.4"
|
|
|
|
URL="http://www.open-mpi.org"
|
2012-01-10 11:16:40 +00:00
|
|
|
INSTALLER="Rainer Keller <keller@hlrs.de>"
|
2011-08-19 08:05:34 +00:00
|
|
|
|
|
|
|
# Archive A and package name P
|
|
|
|
A=${PACKAGE}-${VERSION}.tar.bz2
|
|
|
|
P=${PACKAGE}-${VERSION}
|
|
|
|
|
|
|
|
|
|
|
|
# Other interesting configure options:
|
|
|
|
# --enable-mpi-threads
|
|
|
|
# --enable-progress-threads
|
|
|
|
# --with-fca=DIR
|
|
|
|
CONFIGURE_OPTS="
|
|
|
|
--with-devel-headers \
|
|
|
|
--enable-contrib-no-build=vt
|
|
|
|
--enable-shared \
|
2012-01-10 11:16:40 +00:00
|
|
|
--enable-static"
|
|
|
|
|
2011-08-19 08:05:34 +00:00
|
|
|
if [[ -d /opt/voltaire/fca ]]; then
|
2012-01-10 11:16:40 +00:00
|
|
|
echo "Voltaire FCA found"
|
2011-08-19 08:05:34 +00:00
|
|
|
CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca"
|
|
|
|
fi
|
|
|
|
|
|
|
|
src_pretest() {
|
|
|
|
make check
|
|
|
|
}
|