From 377a0cffdd9e52dfc63f6f325fd8316bc242e86f Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Wed, 11 Apr 2012 13:39:54 +0000 Subject: [PATCH] Added sit class file for openmpi-1.4.5. --- packages/mpi/openmpi/openmpi-1.4.5 | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 packages/mpi/openmpi/openmpi-1.4.5 diff --git a/packages/mpi/openmpi/openmpi-1.4.5 b/packages/mpi/openmpi/openmpi-1.4.5 new file mode 100755 index 0000000..55aa668 --- /dev/null +++ b/packages/mpi/openmpi/openmpi-1.4.5 @@ -0,0 +1,35 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2012 +# + +CATEGORY="mpi" +PACKAGE="openmpi" +VERSION="1.4.5" +URL="http://www.open-mpi.org" +INSTALLER="Chrsitoph Niethammer " + +# 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 \ + --enable-static" + +if [[ -d /opt/voltaire/fca ]]; then + echo "Voltaire FCA found" + CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca" +fi + +src_pretest() { + make check +}