36 lines
750 B
Groff
36 lines
750 B
Groff
|
#!/bin/sh
|
||
|
# sit class file
|
||
|
#
|
||
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||
|
#
|
||
|
|
||
|
CATEGORY="mpi"
|
||
|
PACKAGE="openmpi"
|
||
|
VERSION="1.6.2"
|
||
|
URL="http://www.open-mpi.org"
|
||
|
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||
|
|
||
|
# Archive A and package name P
|
||
|
A=${PACKAGE}-${VERSION}.tar.bz2
|
||
|
P=${PACKAGE}-${VERSION}
|
||
|
|
||
|
|
||
|
# Other interesting configure options:
|
||
|
# --enable-mpi-threads
|
||
|
# --enable-progress-threads
|
||
|
CONFIGURE_OPTS="
|
||
|
--with-devel-headers \
|
||
|
--enable-contrib-no-build=vt
|
||
|
--enable-shared \
|
||
|
--enable-static"
|
||
|
|
||
|
if [[ -d /opt/voltaire/fca ]]; then
|
||
|
echo "Voltaire FCA found"
|
||
|
sit_info "Enabling Voltaire FCA (/opt/voltaire/fca)"
|
||
|
CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca"
|
||
|
fi
|
||
|
|
||
|
src_pretest() {
|
||
|
make check
|
||
|
}
|