1 |
jsbronder 12/11/02 04:37:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpich2-1.5.ebuild |
5 |
Log: |
6 |
bump, fixes #437802 |
7 |
|
8 |
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9) |
9 |
|
10 |
Revision Changes Path |
11 |
1.81 sys-cluster/mpich2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.81&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.81&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?r1=1.80&r2=1.81 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v |
20 |
retrieving revision 1.80 |
21 |
retrieving revision 1.81 |
22 |
diff -u -r1.80 -r1.81 |
23 |
--- ChangeLog 16 Oct 2012 18:43:14 -0000 1.80 |
24 |
+++ ChangeLog 2 Nov 2012 04:37:25 -0000 1.81 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-cluster/mpich2 |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.80 2012/10/16 18:43:14 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.81 2012/11/02 04:37:25 jsbronder Exp $ |
30 |
+ |
31 |
+*mpich2-1.5 (02 Nov 2012) |
32 |
+ |
33 |
+ 02 Nov 2012; Justin Bronder <jsbronder@g.o> +mpich2-1.5.ebuild: |
34 |
+ bump |
35 |
|
36 |
16 Oct 2012; Justin Lecher <jlec@g.o> mpich2-1.2.1_p1-r1.ebuild, |
37 |
mpich2-1.4_rc2-r1.ebuild, mpich2-1.4.1_p1.ebuild, metadata.xml: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-cluster/mpich2/mpich2-1.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mpich2-1.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.5.ebuild,v 1.1 2012/11/02 04:37:25 jsbronder Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
FORTRAN_NEEDED=fortran |
55 |
|
56 |
inherit fortran-2 |
57 |
|
58 |
MY_PV=${PV/_/} |
59 |
DESCRIPTION="A high performance and portable MPI implementation" |
60 |
HOMEPAGE="http://www.mcs.anl.gov/research/projects/mpich2/index.php" |
61 |
SRC_URI="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${MY_PV}/${PN}-${MY_PV}.tar.gz" |
62 |
|
63 |
SLOT="0" |
64 |
LICENSE="as-is" |
65 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
66 |
IUSE="+cxx doc fortran mpi-threads romio threads" |
67 |
|
68 |
COMMON_DEPEND=" |
69 |
dev-libs/libaio |
70 |
sys-apps/hwloc |
71 |
romio? ( net-fs/nfs-utils )" |
72 |
|
73 |
DEPEND="${COMMON_DEPEND} |
74 |
dev-lang/perl |
75 |
sys-devel/libtool" |
76 |
|
77 |
RDEPEND="${COMMON_DEPEND} |
78 |
!sys-cluster/openmpi" |
79 |
|
80 |
S="${WORKDIR}"/${PN}-${MY_PV} |
81 |
|
82 |
pkg_setup() { |
83 |
FORTRAN_STANDARD="77 90" |
84 |
fortran-2_pkg_setup |
85 |
|
86 |
if use mpi-threads && ! use threads; then |
87 |
ewarn "mpi-threads requires threads, assuming that's what you want" |
88 |
fi |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
# Using MPICH2LIB_LDFLAGS doesn't seem to full work. |
93 |
sed -i 's| *@WRAPPER_LDFLAGS@ *||' \ |
94 |
src/packaging/pkgconfig/mpich2.pc.in \ |
95 |
src/env/*.in \ |
96 |
|| die |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
local c="--enable-shared" |
101 |
|
102 |
# The configure statements can be somewhat confusing, as they |
103 |
# don't all show up in the top level configure, however, they |
104 |
# are picked up in the children directories. |
105 |
|
106 |
if use mpi-threads; then |
107 |
# MPI-THREAD requries threading. |
108 |
c="${c} --with-thread-package=pthreads" |
109 |
c="${c} --enable-threads=runtime" |
110 |
else |
111 |
if use threads ; then |
112 |
c="${c} --with-thread-package=pthreads" |
113 |
else |
114 |
c="${c} --with-thread-package=none" |
115 |
fi |
116 |
c="${c} --enable-threads=single" |
117 |
fi |
118 |
|
119 |
export MPICH2LIB_CFLAGS=${CFLAGS} |
120 |
export MPICH2LIB_CPPFLAGS=${CPPFLAGS} |
121 |
export MPICH2LIB_CXXFLAGS=${CXXFLAGS} |
122 |
export MPICH2LIB_FFLAGS=${FFLAGS} |
123 |
export MPICH2LIB_FCFLAGS=${FCFLAGS} |
124 |
export MPICH2LIB_LDFLAGS=${LDFLAGS} |
125 |
unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS |
126 |
|
127 |
c="${c} --sysconfdir=${EPREFIX}/etc/${PN}" |
128 |
c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}" |
129 |
econf ${c} \ |
130 |
--with-pm=hydra \ |
131 |
--disable-mpe \ |
132 |
--disable-fast \ |
133 |
--enable-smpcoll \ |
134 |
--enable-versioning \ |
135 |
$(use_enable romio) \ |
136 |
$(use_enable cxx) \ |
137 |
$(use_enable fortran f77) \ |
138 |
$(use_enable fortran fc) |
139 |
} |
140 |
|
141 |
src_test() { |
142 |
emake -j1 check |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
default |
147 |
|
148 |
dodir /usr/share/doc/${PF} |
149 |
dodoc COPYRIGHT README{,.envvar} CHANGES RELEASE_NOTES |
150 |
newdoc src/pm/hydra/README README.hydra |
151 |
if use romio; then |
152 |
newdoc src/mpi/romio/README README.romio |
153 |
fi |
154 |
|
155 |
if ! use doc; then |
156 |
rm -rf "${D}"usr/share/doc/${PF}/www* |
157 |
fi |
158 |
} |