1 |
jsbronder 08/04/21 14:18:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openmpi-1.2.6.ebuild |
5 |
Log: |
6 |
Openmpi-1.2.6 bump (#218204). Fix src_test(), (#216120 c6). |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.18 sys-cluster/openmpi/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.18&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/ChangeLog?rev=1.18&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/ChangeLog?r1=1.17&r2=1.18 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v |
19 |
retrieving revision 1.17 |
20 |
retrieving revision 1.18 |
21 |
diff -u -r1.17 -r1.18 |
22 |
--- ChangeLog 18 Apr 2008 20:35:22 -0000 1.17 |
23 |
+++ ChangeLog 21 Apr 2008 14:18:35 -0000 1.18 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-cluster/openmpi |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.17 2008/04/18 20:35:22 jsbronder Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.18 2008/04/21 14:18:35 jsbronder Exp $ |
29 |
+ |
30 |
+*openmpi-1.2.6 (21 Apr 2008) |
31 |
+ |
32 |
+ 21 Apr 2008; Justin Bronder <jsbronder@g.o> +openmpi-1.2.6.ebuild: |
33 |
+ Openmpi-1.2.6 bump (#218204). Fix src_test(), (#216120 c6). |
34 |
|
35 |
18 Apr 2008; Justin Bronder <jsbronder@g.o> openmpi-1.2.5.ebuild: |
36 |
Added ~ppc, #216120 |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-cluster/openmpi/openmpi-1.2.6.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.6.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.6.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: openmpi-1.2.6.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.6.ebuild,v 1.1 2008/04/21 14:18:35 jsbronder Exp $ |
50 |
|
51 |
inherit eutils multilib flag-o-matic toolchain-funcs fortran |
52 |
|
53 |
MY_P=${P/-mpi} |
54 |
S=${WORKDIR}/${MY_P} |
55 |
|
56 |
DESCRIPTION="A high-performance message passing library (MPI)" |
57 |
HOMEPAGE="http://www.open-mpi.org" |
58 |
SRC_URI="http://www.open-mpi.org/software/ompi/v1.2/downloads/${MY_P}.tar.bz2" |
59 |
LICENSE="BSD" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~ppc64 ~sparc ~x86 ~ppc" |
62 |
IUSE="pbs fortran nocxx threads romio heterogeneous smp ipv6" |
63 |
RDEPEND="pbs? ( sys-cluster/torque ) |
64 |
!sys-cluster/mpich |
65 |
!sys-cluster/lam-mpi |
66 |
!sys-cluster/mpich2" |
67 |
DEPEND="${RDEPEND}" |
68 |
|
69 |
pkg_setup() { |
70 |
if use threads; then |
71 |
ewarn |
72 |
ewarn "WARNING: use of threads is still disabled by default in" |
73 |
ewarn "upstream builds." |
74 |
ewarn "You may stop now and set USE=-threads" |
75 |
ewarn |
76 |
epause 5 |
77 |
fi |
78 |
|
79 |
elog |
80 |
elog "OpenMPI has an overwhelming count of configuration options." |
81 |
elog "Don't forget the EXTRA_ECONF environment variable can let you" |
82 |
elog "specify configure options if you find them necessary." |
83 |
elog |
84 |
|
85 |
if use fortran; then |
86 |
FORTRAN="g77 gfortran ifc" |
87 |
fortran_pkg_setup |
88 |
fi |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
local myconf=" |
93 |
--sysconfdir=/etc/${PN} |
94 |
--without-xgrid |
95 |
--enable-pretty-print-stacktrace |
96 |
--enable-orterun-prefix-by-default |
97 |
--without-slurm" |
98 |
|
99 |
if use threads; then |
100 |
myconf="${myconf} |
101 |
--enable-mpi-threads |
102 |
--with-progress-threads |
103 |
--with-threads=posix" |
104 |
fi |
105 |
|
106 |
if use fortran; then |
107 |
if [[ "${FORTRANC}" = "g77" ]]; then |
108 |
myconf="${myconf} --disable-mpi-f90" |
109 |
elif [[ "${FORTRANC}" = "gfortran" ]]; then |
110 |
# Because that's just a pain in the butt. |
111 |
myconf="${myconf} --with-wrapper-fflags=-I/usr/include" |
112 |
elif [[ "${FORTRANC}" = if* ]]; then |
113 |
# Enabled here as gfortran compile times are huge with this enabled. |
114 |
myconf="${myconf} --with-mpi-f90-size=medium" |
115 |
fi |
116 |
else |
117 |
myconf="${myconf} |
118 |
--disable-mpi-f90 |
119 |
--disable-mpi-f77" |
120 |
fi |
121 |
|
122 |
econf ${myconf} \ |
123 |
$(use_enable !nocxx mpi-cxx) \ |
124 |
$(use_enable romio romio-io) \ |
125 |
$(use_enable smp smp-locks) \ |
126 |
$(use_enable heterogeneous) \ |
127 |
$(use_with pbs tm) \ |
128 |
$(use_enable ipv6) \ |
129 |
|| die "econf failed" |
130 |
|
131 |
emake || die "emake failed" |
132 |
} |
133 |
|
134 |
src_install () { |
135 |
emake DESTDIR="${D}" install || die "make install failed" |
136 |
dodoc README AUTHORS NEWS VERSION |
137 |
} |
138 |
|
139 |
src_test() { |
140 |
# Doesn't work with the default src_test as the dry run (-n) fails. |
141 |
cd "${S}" |
142 |
emake -j1 check || die "emake check failed" |
143 |
} |
144 |
|
145 |
|
146 |
|
147 |
-- |
148 |
gentoo-commits@l.g.o mailing list |