commit: 71bcf9a4882aa536b30c770cd74dd6b848d03de3
Author: Christoph Junghans gentoo org>
AuthorDate: Mon Sep 5 23:53:42 2016 +
Commit: Christoph Junghans gentoo org>
CommitDate: Tue Sep 6 00:05:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bcf9a4
sys-cluster/nullmpi: initial commit
Package-Manager: portage-2.2.28
sys-cluster/nullmpi/Manifest | 1 +
.../nullmpi/files/nullmpi-0.7-libtool.patch| 53 ++
sys-cluster/nullmpi/metadata.xml | 12 +
sys-cluster/nullmpi/nullmpi-0.7.ebuild | 47 +++
4 files changed, 113 insertions(+)
diff --git a/sys-cluster/nullmpi/Manifest b/sys-cluster/nullmpi/Manifest
new file mode 100644
index ..a90dfd4
--- /dev/null
+++ b/sys-cluster/nullmpi/Manifest
@@ -0,0 +1 @@
+DIST nullmpi-0.7.tar.gz 148188 SHA256
88d6d09db717e22627fa7f225225f807d9315e611b903d2076ab0c83e74c8c96 SHA512
8575b019f4ea835f3824dc181a3bea70684ad5c4fa59686ff293ba63dfbf1a90ba7a80dccecc817664d10ea23d131003eed46a5a29cc18cd619176090d8a1ae1
WHIRLPOOL
da058909917f0f32dce6086c01337543266e89d7e71ace2fe57f3b558643d6528494eac5e742c336a1c37664df5e195b132648bf87d12b47db4bc581083f1fff
diff --git a/sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch
b/sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch
new file mode 100644
index ..60b5693
--- /dev/null
+++ b/sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch
@@ -0,0 +1,53 @@
+diff -Naur nullmpi-0.7.orig/configure.ac nullmpi-0.7/configure.ac
+--- nullmpi-0.7.orig/configure.ac 2011-01-23 17:20:35.0 +0100
nullmpi-0.7/configure.ac 2011-01-23 17:21:21.0 +0100
+@@ -18,6 +18,7 @@
+ AC_PROG_RANLIB
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
++LT_INIT
+
+ # Checks for header files.
+ AC_HEADER_STDC
+diff -Naur nullmpi-0.7.orig/pmpi/Makefile.am nullmpi-0.7/pmpi/Makefile.am
+--- nullmpi-0.7.orig/pmpi/Makefile.am 2011-01-23 17:20:35.0 +0100
nullmpi-0.7/pmpi/Makefile.am 2011-01-23 17:41:58.0 +0100
+@@ -1,7 +1,7 @@
+ ## process this file with automake to produce Makefile.in
+
+-lib_LIBRARIES = libnullpmpi.a
+-libnullpmpi_a_SOURCES = \
++lib_LTLIBRARIES = libnullpmpi.la
++libnullpmpi_la_SOURCES = \
+ abort.c \
+ allgather.c \
+ allgatherv.c \
+@@ -115,4 +115,6 @@
+ waitsome.c \
+ pmpi_wrap.h
+
++libnullpmpi_la_LIBADD = ../src/libnullmpi.la
++
+ AM_CPPFLAGS = -I$(srcdir)/../src -DPROFILELIB
+diff -Naur nullmpi-0.7.orig/pmpi/out.c nullmpi-0.7/pmpi/out.c
+--- nullmpi-0.7.orig/pmpi/out.c2011-01-23 17:20:35.0 +0100
nullmpi-0.7/pmpi/out.c 2011-01-23 17:47:38.0 +0100
+@@ -1,3 +1,3 @@
+ #include "pmpi_wrap.h"
+
+-PMPI_WRAP2(MPI_Abort, MPI_Comm, int)
++/*PMPI_WRAP2(MPI_Abort, MPI_Comm, int)*/
+diff -Naur nullmpi-0.7.orig/src/Makefile.am nullmpi-0.7/src/Makefile.am
+--- nullmpi-0.7.orig/src/Makefile.am 2011-01-23 17:20:35.0 +0100
nullmpi-0.7/src/Makefile.am2011-01-23 17:22:11.0 +0100
+@@ -1,8 +1,8 @@
+ ## process this file with automake to produce Makefile.in
+
+ include_HEADERS = $(PUBLICHEADERS)
+-lib_LIBRARIES = libnullmpi.a
+-libnullmpi_a_SOURCES = $(PUBLICHEADERS) $(PRIVATEHEADERS) $(PRIVATESOURCES)
++lib_LTLIBRARIES = libnullmpi.la
++libnullmpi_la_SOURCES = $(PUBLICHEADERS) $(PRIVATEHEADERS) $(PRIVATESOURCES)
+
+ PUBLICHEADERS = \
+ mpi.h \
diff --git a/sys-cluster/nullmpi/metadata.xml b/sys-cluster/nullmpi/metadata.xml
new file mode 100644
index ..3ffc9db
--- /dev/null
+++ b/sys-cluster/nullmpi/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+ott...@gentoo.org
+Christoph Junghans
+
+
+clus...@gentoo.org
+Gentoo Cluster Project
+
+
diff --git a/sys-cluster/nullmpi/nullmpi-0.7.ebuild
b/sys-cluster/nullmpi/nullmpi-0.7.ebuild
new file mode 100644
index ..0265f96
--- /dev/null
+++ b/sys-cluster/nullmpi/nullmpi-0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="MPI substitute library"
+HOMEPAGE="http://wissrech.ins.uni-bonn.de/research/projects/nullmpi/";
+SRC_URI="http://wissrech.ins.uni-bonn.de/research/projects/nullmpi/${PF}.tar.gz";
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+ !sys-cluster/openmpi
+ !sys-cluster/mpich
+ !sys-cluster/mpich2
+ !sys-cluster/mvapich2
+ !sys-cluster/native-mpi"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-libtool.patch" )
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/nullmpi_conf.h
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf --enable-shared $(use_enable static-libs
static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ #no deps
+