1 |
nerdboy 07/12/03 07:21:53 |
2 |
|
3 |
Modified: hdf5-1.6.2.ebuild ChangeLog hdf5-1.6.4.ebuild |
4 |
hdf5-1.6.5-r1.ebuild hdf5-1.6.5.ebuild |
5 |
Added: hdf5-1.6.6.ebuild |
6 |
Log: |
7 |
updated to latest upstream release with pvfs2 support and shared lib fixes |
8 |
(Portage version: 2.1.4_rc1) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 sci-libs/hdf5/hdf5-1.6.2.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.2.ebuild?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.2.ebuild?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.2.ebuild?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: hdf5-1.6.2.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.2.ebuild,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- hdf5-1.6.2.ebuild 21 May 2006 21:44:41 -0000 1.5 |
24 |
+++ hdf5-1.6.2.ebuild 3 Dec 2007 07:21:53 -0000 1.6 |
25 |
@@ -1,6 +1,6 @@ |
26 |
-# Copyright 1999-2006 Gentoo Foundation |
27 |
+# Copyright 1999-2007 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.2.ebuild,v 1.5 2006/05/21 21:44:41 nerdboy Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.2.ebuild,v 1.6 2007/12/03 07:21:53 nerdboy Exp $ |
31 |
|
32 |
inherit eutils |
33 |
|
34 |
@@ -57,6 +57,6 @@ |
35 |
infodir=${D}/usr/share/info \ |
36 |
install || die "make install failed" |
37 |
|
38 |
- dodoc README.txt COPYING MANIFEST |
39 |
+ dodoc README.txt MANIFEST |
40 |
dohtml doc/html/* |
41 |
} |
42 |
|
43 |
|
44 |
|
45 |
1.19 sci-libs/hdf5/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.19&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.19&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/ChangeLog?r1=1.18&r2=1.19 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v |
54 |
retrieving revision 1.18 |
55 |
retrieving revision 1.19 |
56 |
diff -u -r1.18 -r1.19 |
57 |
--- ChangeLog 1 Nov 2006 00:49:30 -0000 1.18 |
58 |
+++ ChangeLog 3 Dec 2007 07:21:53 -0000 1.19 |
59 |
@@ -1,6 +1,15 @@ |
60 |
# ChangeLog for sci-libs/hdf5 |
61 |
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.18 2006/11/01 00:49:30 dberkholz Exp $ |
63 |
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
64 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.19 2007/12/03 07:21:53 nerdboy Exp $ |
65 |
+ |
66 |
+*hdf5-1.6.6 (03 Dec 2007) |
67 |
+ |
68 |
+ 03 Dec 2007; Steve Arnold <nerdboy@g.o> +files/hdf5-mpich2.patch, |
69 |
+ +hdf5-1.6.6.ebuild: |
70 |
+ Updated to latest upstream release, with mpi fixes, however, this version |
71 |
+ is locked to mpich2-1.0.6 due to pvfs2, however, sparc is dropped until |
72 |
+ the parallel I/O thing is worked out with other MPI libs. |
73 |
+ Tests work, including mpi (but needs testing in a real cluster). |
74 |
|
75 |
01 Nov 2006; Donnie Berkholz <dberkholz@g.o>; ChangeLog: |
76 |
Update for my nick change spyderous -> dberkholz. |
77 |
|
78 |
|
79 |
|
80 |
1.9 sci-libs/hdf5/hdf5-1.6.4.ebuild |
81 |
|
82 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.4.ebuild?rev=1.9&view=markup |
83 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.4.ebuild?rev=1.9&content-type=text/plain |
84 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.4.ebuild?r1=1.8&r2=1.9 |
85 |
|
86 |
Index: hdf5-1.6.4.ebuild |
87 |
=================================================================== |
88 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.4.ebuild,v |
89 |
retrieving revision 1.8 |
90 |
retrieving revision 1.9 |
91 |
diff -u -r1.8 -r1.9 |
92 |
--- hdf5-1.6.4.ebuild 26 Jun 2007 02:43:01 -0000 1.8 |
93 |
+++ hdf5-1.6.4.ebuild 3 Dec 2007 07:21:53 -0000 1.9 |
94 |
@@ -1,6 +1,6 @@ |
95 |
-# Copyright 1999-2006 Gentoo Foundation |
96 |
+# Copyright 1999-2007 Gentoo Foundation |
97 |
# Distributed under the terms of the GNU General Public License v2 |
98 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.4.ebuild,v 1.8 2007/06/26 02:43:01 mr_bones_ Exp $ |
99 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.4.ebuild,v 1.9 2007/12/03 07:21:53 nerdboy Exp $ |
100 |
|
101 |
inherit eutils |
102 |
|
103 |
@@ -64,6 +64,6 @@ |
104 |
infodir=${D}/usr/share/info \ |
105 |
install || die "make install failed" |
106 |
|
107 |
- dodoc README.txt COPYING MANIFEST |
108 |
+ dodoc README.txt MANIFEST |
109 |
dohtml doc/html/* |
110 |
} |
111 |
|
112 |
|
113 |
|
114 |
1.4 sci-libs/hdf5/hdf5-1.6.5-r1.ebuild |
115 |
|
116 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5-r1.ebuild?rev=1.4&view=markup |
117 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5-r1.ebuild?rev=1.4&content-type=text/plain |
118 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5-r1.ebuild?r1=1.3&r2=1.4 |
119 |
|
120 |
Index: hdf5-1.6.5-r1.ebuild |
121 |
=================================================================== |
122 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5-r1.ebuild,v |
123 |
retrieving revision 1.3 |
124 |
retrieving revision 1.4 |
125 |
diff -u -r1.3 -r1.4 |
126 |
--- hdf5-1.6.5-r1.ebuild 13 Jul 2006 05:05:56 -0000 1.3 |
127 |
+++ hdf5-1.6.5-r1.ebuild 3 Dec 2007 07:21:53 -0000 1.4 |
128 |
@@ -1,6 +1,6 @@ |
129 |
-# Copyright 1999-2006 Gentoo Foundation |
130 |
+# Copyright 1999-2007 Gentoo Foundation |
131 |
# Distributed under the terms of the GNU General Public License v2 |
132 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5-r1.ebuild,v 1.3 2006/07/13 05:05:56 nerdboy Exp $ |
133 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5-r1.ebuild,v 1.4 2007/12/03 07:21:53 nerdboy Exp $ |
134 |
|
135 |
inherit fortran eutils toolchain-funcs |
136 |
|
137 |
@@ -161,7 +161,7 @@ |
138 |
fi |
139 |
|
140 |
dobin ${S}/bin/iostats || die "dobin failed" |
141 |
- dodoc README.txt COPYING MANIFEST |
142 |
+ dodoc README.txt MANIFEST |
143 |
dohtml doc/html/* |
144 |
|
145 |
if use mpi ; then |
146 |
|
147 |
|
148 |
|
149 |
1.4 sci-libs/hdf5/hdf5-1.6.5.ebuild |
150 |
|
151 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5.ebuild?rev=1.4&view=markup |
152 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5.ebuild?rev=1.4&content-type=text/plain |
153 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5.ebuild?r1=1.3&r2=1.4 |
154 |
|
155 |
Index: hdf5-1.6.5.ebuild |
156 |
=================================================================== |
157 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5.ebuild,v |
158 |
retrieving revision 1.3 |
159 |
retrieving revision 1.4 |
160 |
diff -u -r1.3 -r1.4 |
161 |
--- hdf5-1.6.5.ebuild 24 Jun 2006 16:13:48 -0000 1.3 |
162 |
+++ hdf5-1.6.5.ebuild 3 Dec 2007 07:21:53 -0000 1.4 |
163 |
@@ -1,6 +1,6 @@ |
164 |
-# Copyright 1999-2006 Gentoo Foundation |
165 |
+# Copyright 1999-2007 Gentoo Foundation |
166 |
# Distributed under the terms of the GNU General Public License v2 |
167 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5.ebuild,v 1.3 2006/06/24 16:13:48 nerdboy Exp $ |
168 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.5.ebuild,v 1.4 2007/12/03 07:21:53 nerdboy Exp $ |
169 |
|
170 |
inherit eutils |
171 |
|
172 |
@@ -77,7 +77,7 @@ |
173 |
|
174 |
dobin ${S}/bin/iostats || die "dobin failed" |
175 |
|
176 |
- dodoc README.txt COPYING MANIFEST |
177 |
+ dodoc README.txt MANIFEST |
178 |
dohtml doc/html/* |
179 |
|
180 |
if use mpi ; then |
181 |
|
182 |
|
183 |
|
184 |
1.1 sci-libs/hdf5/hdf5-1.6.6.ebuild |
185 |
|
186 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.6.ebuild?rev=1.1&view=markup |
187 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.6.6.ebuild?rev=1.1&content-type=text/plain |
188 |
|
189 |
Index: hdf5-1.6.6.ebuild |
190 |
=================================================================== |
191 |
# Copyright 1999-2007 Gentoo Foundation |
192 |
# Distributed under the terms of the GNU General Public License v2 |
193 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.6.6.ebuild,v 1.1 2007/12/03 07:21:53 nerdboy Exp $ |
194 |
|
195 |
inherit eutils flag-o-matic fortran toolchain-funcs |
196 |
|
197 |
DESCRIPTION="General purpose library and file format for storing scientific data" |
198 |
HOMEPAGE="http://hdf.ncsa.uiuc.edu/HDF5/" |
199 |
SRC_URI="ftp://ftp.hdfgroup.org/HDF5/current/src/${P}.tar.gz" |
200 |
|
201 |
LICENSE="NCSA-HDF" |
202 |
SLOT="0" |
203 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
204 |
# need to update szip to get alpha, ia64, etc back in here, |
205 |
IUSE="cxx debug fortran mpi ssl szip threads zlib " |
206 |
|
207 |
DEPEND="mpi? ( >=sys-cluster/mpich2-1.0.6 |
208 |
net-fs/nfs-utils ) |
209 |
ssl? ( dev-libs/openssl ) |
210 |
szip? ( sci-libs/szip ) |
211 |
zlib? ( sys-libs/zlib ) |
212 |
threads? ( virtual/libc ) |
213 |
sys-devel/gcc |
214 |
sys-apps/coreutils |
215 |
sys-apps/which |
216 |
sys-process/time" |
217 |
|
218 |
RDEPEND="${DEPEND} |
219 |
dev-lang/perl" |
220 |
|
221 |
pkg_setup() { |
222 |
# The above gcc dep is a hack to insure at least one Fortran 90 |
223 |
# compiler is installed if the user enables fortran support. Feel |
224 |
# free to improve it... |
225 |
if use fortran ; then |
226 |
if [ $(gcc-major-version) -ge 4 ] \ |
227 |
&& built_with_use sys-devel/gcc fortran ; then |
228 |
FORTRAN="gfortran" |
229 |
fortran_pkg_setup |
230 |
export F9X="gfortran" |
231 |
einfo "Configuring for GNU gfortran..." |
232 |
elif |
233 |
test -d /opt/intel/fortran90 ; then |
234 |
FORTRAN="ifc" |
235 |
fortran_pkg_setup |
236 |
export F9X="ifc" |
237 |
einfo "Configuring for Intel fortran..." |
238 |
else |
239 |
einfo "No F90 compiler found; please install either gcc 4 with" |
240 |
einfo "fortran support or some other Fortran 90 compiler such" |
241 |
einfo "as ifc or pgf90 (or disable fortran support)." |
242 |
die "No usable Fortran 90 compiler found." |
243 |
fi |
244 |
fi |
245 |
if use mpi && ! built_with_use sys-cluster/mpich2 pvfs2 ; then |
246 |
ewarn "Your MPI library needs parallel IO support for HDF5. You" |
247 |
ewarn "must re-emerge mpich2 with USE=pvfs2." |
248 |
die "requires parallel IO support" |
249 |
fi |
250 |
} |
251 |
|
252 |
src_unpack() { |
253 |
unpack "${A}" |
254 |
cd "${S}" |
255 |
|
256 |
if use mpi; then |
257 |
# this is required for mpich2, and should be safe otherwise |
258 |
epatch "${FILESDIR}/${PN}-mpich2.patch" || die "mpich2 patch failed" |
259 |
fi |
260 |
|
261 |
sed -i -e "s/tail +/tail -n +/" "${S}"/bin/release \ |
262 |
"${S}"/tools/h5dump/testh5dump.sh.in |
263 |
|
264 |
} |
265 |
|
266 |
src_compile() { |
267 |
local myconf="--with-pic --enable-shared" |
268 |
|
269 |
if use cxx && ! use mpi ; then |
270 |
myconf="${myconf} --enable-cxx" |
271 |
elif use cxx && use mpi ; then |
272 |
ewarn "C++ support is not compatible with the mpi interface." |
273 |
die "Please disable either cxx or mpi." |
274 |
else |
275 |
myconf="${myconf} --disable-cxx" |
276 |
fi |
277 |
|
278 |
if use fortran && use mpi ; then |
279 |
ewarn "Requires Fortran 90 support in your mpi library..." |
280 |
myconf="${myconf} --enable-fortran --enable-parallel" |
281 |
fi |
282 |
|
283 |
use threads && myconf="${myconf} --with-pthread --enable-threadsafe" |
284 |
|
285 |
if use debug; then |
286 |
myconf="${myconf} --enable-debug=all" |
287 |
else |
288 |
myconf="${myconf} --enable-production" |
289 |
fi |
290 |
|
291 |
# NOTE: the hdf5 configure script has its own interpretation of |
292 |
# the ARCH environment variable which conflicts with that of |
293 |
# ebuild/emerge. As a work around, we save the ARCH variable as |
294 |
# EBUILD_ARCH and restore it when we are done. |
295 |
EBUILD_ARCH="${ARCH}" |
296 |
unset ARCH |
297 |
|
298 |
if use mpi ; then |
299 |
export NPROCS=1 |
300 |
export CC="mpicc" |
301 |
export F9X="mpif90" |
302 |
export LIBS="$(sh pvfs2-config --libs) -lmpich" |
303 |
if built_with_use sys-cluster/mpich2 mpe ; then |
304 |
myconf="${myconf} --with-mpe=/usr/include,/usr/$(get_libdir)" |
305 |
fi |
306 |
append-ldflags "${LIBS}" |
307 |
fi |
308 |
|
309 |
./configure --prefix=/usr "${myconf}" \ |
310 |
$(use_enable zlib) \ |
311 |
$(use_with ssl) \ |
312 |
--enable-linux-lfs \ |
313 |
--sysconfdir=/etc \ |
314 |
--infodir=/usr/share/info \ |
315 |
--libdir=/usr/$(get_libdir) \ |
316 |
--mandir=/usr/share/man || die "configure failed" |
317 |
|
318 |
# restore the ARCH environment variable |
319 |
ARCH="${EBUILD_ARCH}" |
320 |
|
321 |
# emake has occasional segfaults |
322 |
make || die "make failed" |
323 |
} |
324 |
|
325 |
src_test() { |
326 |
# make test is not reliable, and the mpi tests have a weird failure |
327 |
export HDF5_Make_Ignore=yes |
328 |
if use mpi ; then |
329 |
export HDF5_PARAPREFIX="${S}/testpar" |
330 |
export CC="/usr/bin/mpicc" |
331 |
install -g portage -o portage -m 0600 "${FILESDIR}"/mpd.conf "${HOME}"/.mpd.conf |
332 |
/usr/bin/mpd --daemon |
333 |
fi |
334 |
make check || die "make test failed" |
335 |
use mpi && /usr/bin/mpdallexit |
336 |
export HDF5_Make_Ignore=no |
337 |
} |
338 |
|
339 |
src_install() { |
340 |
make \ |
341 |
prefix="${D}"usr \ |
342 |
mandir="${D}"usr/share/man \ |
343 |
docdir="${D}"usr/share/doc/"${PF}" \ |
344 |
libdir="${D}"usr/$(get_libdir) \ |
345 |
infodir="${D}usr"/share/info \ |
346 |
install || die "make install failed" |
347 |
|
348 |
dolib.a "${S}"/tools/lib/.libs/libh5tools.a \ |
349 |
"${S}"/test/.libs/libh5test.a || die "dolib.a failed" |
350 |
insinto /usr/$(get_libdir) |
351 |
doins "${S}"/tools/lib/libh5tools.la \ |
352 |
"${S}"/test/libh5test.la || die "doins failed" |
353 |
dolib.so" ${S}"/test/.libs/lib*so* || die "dolib.so failed" |
354 |
|
355 |
exeinto /usr/bin |
356 |
newexe "${S}"/bin/iostats iostats.pl || die "newexe failed" |
357 |
|
358 |
dodoc README.txt MANIFEST |
359 |
dohtml doc/html/* |
360 |
|
361 |
if use mpi ; then |
362 |
mv "${D}"usr/bin/h5pcc "${D}"usr/bin/h5cc |
363 |
fi |
364 |
if use fortran ; then |
365 |
mv "${D}"usr/bin/h5pfc "${D}"usr/bin/h5fc |
366 |
fi |
367 |
# change the SHLIB default for C |
368 |
dosed "s/SHLIB:-no/SHLIB:-yes/g" "${D}"usr/bin/h5cc || die "dosed failed" |
369 |
} |
370 |
|
371 |
pkg_postinst() { |
372 |
elog |
373 |
elog "There are currently 2 non-fatal test errors in the mpi tests," |
374 |
elog "however, all C++, Fortran, and other tests pass successfully." |
375 |
elog "The only expected failure is currently in the PHDF5 section" |
376 |
elog "under MPI functionality tests. The second section using the" |
377 |
elog "MPIPOSIX driver should work, along with all other tests." |
378 |
elog |
379 |
elog "Suggested USE flags for fortran and mpi support using gfortran:" |
380 |
elog "USE=\"fortran mpi -cxx\"" |
381 |
elog |
382 |
ewarn "Note 1: currently testing pvfs2 support (with mpi). Please" |
383 |
ewarn "report any problems in the usual way." |
384 |
elog |
385 |
ewarn "Note 2: you'll need rawio support enabled in your kernel or" |
386 |
ewarn "certain asynchronous IO operations will fail. Either enable" |
387 |
ewarn "the RAW driver (under Character Devices) or patch your kernel" |
388 |
ewarn "with the new PAIO drivers and use libposix-aio. See both:" |
389 |
ewarn "http://sourceforge.net/projects/paiol and" |
390 |
ewarn "http://www.bullopensource.org/posix for more info." |
391 |
elog |
392 |
} |
393 |
|
394 |
|
395 |
|
396 |
-- |
397 |
gentoo-commits@g.o mailing list |