diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2016-09-05 17:53:42 -0600 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2016-09-05 18:05:57 -0600 |
commit | 71bcf9a4882aa536b30c770cd74dd6b848d03de3 (patch) | |
tree | dc0dc008ad302f587812d1db3f3e1e6d2501c7be /sys-cluster/nullmpi | |
parent | sys-kernel/git-sources: Linux patch 4.8-rc5 (diff) | |
download | gentoo-71bcf9a4882aa536b30c770cd74dd6b848d03de3.tar.gz gentoo-71bcf9a4882aa536b30c770cd74dd6b848d03de3.tar.bz2 gentoo-71bcf9a4882aa536b30c770cd74dd6b848d03de3.zip |
sys-cluster/nullmpi: initial commit
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-cluster/nullmpi')
-rw-r--r-- | sys-cluster/nullmpi/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch | 53 | ||||
-rw-r--r-- | sys-cluster/nullmpi/metadata.xml | 12 | ||||
-rw-r--r-- | sys-cluster/nullmpi/nullmpi-0.7.ebuild | 47 |
4 files changed, 113 insertions, 0 deletions
diff --git a/sys-cluster/nullmpi/Manifest b/sys-cluster/nullmpi/Manifest new file mode 100644 index 000000000000..a90dfd428bbc --- /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 000000000000..60b56930938f --- /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.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 \ diff --git a/sys-cluster/nullmpi/metadata.xml b/sys-cluster/nullmpi/metadata.xml new file mode 100644 index 000000000000..3ffc9db482d2 --- /dev/null +++ b/sys-cluster/nullmpi/metadata.xml @@ -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> diff --git a/sys-cluster/nullmpi/nullmpi-0.7.ebuild b/sys-cluster/nullmpi/nullmpi-0.7.ebuild new file mode 100644 index 000000000000..0265f96e41df --- /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 + find "${ED}" -name '*.la' -delete || die +} |