1 |
commit: 71bcf9a4882aa536b30c770cd74dd6b848d03de3 |
2 |
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 5 23:53:42 2016 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 6 00:05:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bcf9a4 |
7 |
|
8 |
sys-cluster/nullmpi: initial commit |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sys-cluster/nullmpi/Manifest | 1 + |
13 |
.../nullmpi/files/nullmpi-0.7-libtool.patch | 53 ++++++++++++++++++++++ |
14 |
sys-cluster/nullmpi/metadata.xml | 12 +++++ |
15 |
sys-cluster/nullmpi/nullmpi-0.7.ebuild | 47 +++++++++++++++++++ |
16 |
4 files changed, 113 insertions(+) |
17 |
|
18 |
diff --git a/sys-cluster/nullmpi/Manifest b/sys-cluster/nullmpi/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000..a90dfd4 |
21 |
--- /dev/null |
22 |
+++ b/sys-cluster/nullmpi/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST nullmpi-0.7.tar.gz 148188 SHA256 88d6d09db717e22627fa7f225225f807d9315e611b903d2076ab0c83e74c8c96 SHA512 8575b019f4ea835f3824dc181a3bea70684ad5c4fa59686ff293ba63dfbf1a90ba7a80dccecc817664d10ea23d131003eed46a5a29cc18cd619176090d8a1ae1 WHIRLPOOL da058909917f0f32dce6086c01337543266e89d7e71ace2fe57f3b558643d6528494eac5e742c336a1c37664df5e195b132648bf87d12b47db4bc581083f1fff |
25 |
|
26 |
diff --git a/sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch b/sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch |
27 |
new file mode 100644 |
28 |
index 00000000..60b5693 |
29 |
--- /dev/null |
30 |
+++ b/sys-cluster/nullmpi/files/nullmpi-0.7-libtool.patch |
31 |
@@ -0,0 +1,53 @@ |
32 |
+diff -Naur nullmpi-0.7.orig/configure.ac nullmpi-0.7/configure.ac |
33 |
+--- nullmpi-0.7.orig/configure.ac 2011-01-23 17:20:35.000000000 +0100 |
34 |
++++ nullmpi-0.7/configure.ac 2011-01-23 17:21:21.000000000 +0100 |
35 |
+@@ -18,6 +18,7 @@ |
36 |
+ AC_PROG_RANLIB |
37 |
+ AC_PROG_LN_S |
38 |
+ AC_PROG_MAKE_SET |
39 |
++LT_INIT |
40 |
+ |
41 |
+ # Checks for header files. |
42 |
+ AC_HEADER_STDC |
43 |
+diff -Naur nullmpi-0.7.orig/pmpi/Makefile.am nullmpi-0.7/pmpi/Makefile.am |
44 |
+--- nullmpi-0.7.orig/pmpi/Makefile.am 2011-01-23 17:20:35.000000000 +0100 |
45 |
++++ nullmpi-0.7/pmpi/Makefile.am 2011-01-23 17:41:58.000000000 +0100 |
46 |
+@@ -1,7 +1,7 @@ |
47 |
+ ## process this file with automake to produce Makefile.in |
48 |
+ |
49 |
+-lib_LIBRARIES = libnullpmpi.a |
50 |
+-libnullpmpi_a_SOURCES = \ |
51 |
++lib_LTLIBRARIES = libnullpmpi.la |
52 |
++libnullpmpi_la_SOURCES = \ |
53 |
+ abort.c \ |
54 |
+ allgather.c \ |
55 |
+ allgatherv.c \ |
56 |
+@@ -115,4 +115,6 @@ |
57 |
+ waitsome.c \ |
58 |
+ pmpi_wrap.h |
59 |
+ |
60 |
++libnullpmpi_la_LIBADD = ../src/libnullmpi.la |
61 |
++ |
62 |
+ AM_CPPFLAGS = -I$(srcdir)/../src -DPROFILELIB |
63 |
+diff -Naur nullmpi-0.7.orig/pmpi/out.c nullmpi-0.7/pmpi/out.c |
64 |
+--- nullmpi-0.7.orig/pmpi/out.c 2011-01-23 17:20:35.000000000 +0100 |
65 |
++++ nullmpi-0.7/pmpi/out.c 2011-01-23 17:47:38.000000000 +0100 |
66 |
+@@ -1,3 +1,3 @@ |
67 |
+ #include "pmpi_wrap.h" |
68 |
+ |
69 |
+-PMPI_WRAP2(MPI_Abort, MPI_Comm, int) |
70 |
++/*PMPI_WRAP2(MPI_Abort, MPI_Comm, int)*/ |
71 |
+diff -Naur nullmpi-0.7.orig/src/Makefile.am nullmpi-0.7/src/Makefile.am |
72 |
+--- nullmpi-0.7.orig/src/Makefile.am 2011-01-23 17:20:35.000000000 +0100 |
73 |
++++ nullmpi-0.7/src/Makefile.am 2011-01-23 17:22:11.000000000 +0100 |
74 |
+@@ -1,8 +1,8 @@ |
75 |
+ ## process this file with automake to produce Makefile.in |
76 |
+ |
77 |
+ include_HEADERS = $(PUBLICHEADERS) |
78 |
+-lib_LIBRARIES = libnullmpi.a |
79 |
+-libnullmpi_a_SOURCES = $(PUBLICHEADERS) $(PRIVATEHEADERS) $(PRIVATESOURCES) |
80 |
++lib_LTLIBRARIES = libnullmpi.la |
81 |
++libnullmpi_la_SOURCES = $(PUBLICHEADERS) $(PRIVATEHEADERS) $(PRIVATESOURCES) |
82 |
+ |
83 |
+ PUBLICHEADERS = \ |
84 |
+ mpi.h \ |
85 |
|
86 |
diff --git a/sys-cluster/nullmpi/metadata.xml b/sys-cluster/nullmpi/metadata.xml |
87 |
new file mode 100644 |
88 |
index 00000000..3ffc9db |
89 |
--- /dev/null |
90 |
+++ b/sys-cluster/nullmpi/metadata.xml |
91 |
@@ -0,0 +1,12 @@ |
92 |
+<?xml version="1.0" encoding="UTF-8"?> |
93 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
94 |
+<pkgmetadata> |
95 |
+ <maintainer type="person"> |
96 |
+ <email>ottxor@g.o</email> |
97 |
+ <name>Christoph Junghans</name> |
98 |
+ </maintainer> |
99 |
+<maintainer type="project"> |
100 |
+ <email>cluster@g.o</email> |
101 |
+ <name>Gentoo Cluster Project</name> |
102 |
+ </maintainer> |
103 |
+</pkgmetadata> |
104 |
|
105 |
diff --git a/sys-cluster/nullmpi/nullmpi-0.7.ebuild b/sys-cluster/nullmpi/nullmpi-0.7.ebuild |
106 |
new file mode 100644 |
107 |
index 00000000..0265f96 |
108 |
--- /dev/null |
109 |
+++ b/sys-cluster/nullmpi/nullmpi-0.7.ebuild |
110 |
@@ -0,0 +1,47 @@ |
111 |
+# Copyright 1999-2016 Gentoo Foundation |
112 |
+# Distributed under the terms of the GNU General Public License v2 |
113 |
+# $Id$ |
114 |
+ |
115 |
+EAPI=6 |
116 |
+ |
117 |
+inherit autotools multilib-minimal |
118 |
+ |
119 |
+DESCRIPTION="MPI substitute library" |
120 |
+HOMEPAGE="http://wissrech.ins.uni-bonn.de/research/projects/nullmpi/" |
121 |
+SRC_URI="http://wissrech.ins.uni-bonn.de/research/projects/nullmpi/${PF}.tar.gz" |
122 |
+ |
123 |
+LICENSE="GPL-1" |
124 |
+SLOT="0" |
125 |
+KEYWORDS="~amd64 ~x86" |
126 |
+IUSE="static-libs" |
127 |
+ |
128 |
+RDEPEND=" |
129 |
+ !sys-cluster/openmpi |
130 |
+ !sys-cluster/mpich |
131 |
+ !sys-cluster/mpich2 |
132 |
+ !sys-cluster/mvapich2 |
133 |
+ !sys-cluster/native-mpi" |
134 |
+ |
135 |
+DEPEND="${RDEPEND}" |
136 |
+ |
137 |
+PATCHES=( "${FILESDIR}/${P}-libtool.patch" ) |
138 |
+ |
139 |
+MULTILIB_WRAPPED_HEADERS=( |
140 |
+ /usr/include/nullmpi_conf.h |
141 |
+) |
142 |
+ |
143 |
+src_prepare() { |
144 |
+ default |
145 |
+ eautoreconf |
146 |
+} |
147 |
+ |
148 |
+multilib_src_configure() { |
149 |
+ ECONF_SOURCE="${S}" econf --enable-shared $(use_enable static-libs static) |
150 |
+} |
151 |
+ |
152 |
+multilib_src_install_all() { |
153 |
+ einstalldocs |
154 |
+ |
155 |
+ #no deps |
156 |
+ find "${ED}" -name '*.la' -delete || die |
157 |
+} |