From 4b05d29e5a013863c5237148f40803ecd66a8d13 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 21 May 2012 11:26:04 +0000 Subject: [PATCH] Added sit class file for openmpi-1.6. --- packages/mpi/openmpi/openmpi-1.6 | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 packages/mpi/openmpi/openmpi-1.6 diff --git a/packages/mpi/openmpi/openmpi-1.6 b/packages/mpi/openmpi/openmpi-1.6 new file mode 100755 index 0000000..c7c5a07 --- /dev/null +++ b/packages/mpi/openmpi/openmpi-1.6 @@ -0,0 +1,35 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2012 +# + +CATEGORY="mpi" +PACKAGE="openmpi" +VERSION="1.6" +URL="http://www.open-mpi.org" +INSTALLER="Christoph 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 +}