sys-cluster/nullmpi: initial commit

Package-Manager: portage-2.2.28
This commit is contained in:
Christoph Junghans 2016-09-05 17:53:42 -06:00
parent 3e90956747
commit 71bcf9a488
No known key found for this signature in database
GPG Key ID: E781865AC2000586
4 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST nullmpi-0.7.tar.gz 148188 SHA256 88d6d09db717e22627fa7f225225f807d9315e611b903d2076ab0c83e74c8c96 SHA512 8575b019f4ea835f3824dc181a3bea70684ad5c4fa59686ff293ba63dfbf1a90ba7a80dccecc817664d10ea23d131003eed46a5a29cc18cd619176090d8a1ae1 WHIRLPOOL da058909917f0f32dce6086c01337543266e89d7e71ace2fe57f3b558643d6528494eac5e742c336a1c37664df5e195b132648bf87d12b47db4bc581083f1fff

View File

@ -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.000000000 +0100
+++ nullmpi-0.7/configure.ac 2011-01-23 17:21:21.000000000 +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.000000000 +0100
+++ nullmpi-0.7/pmpi/Makefile.am 2011-01-23 17:41:58.000000000 +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.c 2011-01-23 17:20:35.000000000 +0100
+++ nullmpi-0.7/pmpi/out.c 2011-01-23 17:47:38.000000000 +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.000000000 +0100
+++ nullmpi-0.7/src/Makefile.am 2011-01-23 17:22:11.000000000 +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 \

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ottxor@gentoo.org</email>
<name>Christoph Junghans</name>
</maintainer>
<maintainer type="project">
<email>cluster@gentoo.org</email>
<name>Gentoo Cluster Project</name>
</maintainer>
</pkgmetadata>

View File

@ -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
find "${ED}" -name '*.la' -delete || die
}