summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-02-10 17:21:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-02-10 17:21:57 +0000
commit3f4296beffabcf5acb57b5cc8b507c18d9fba33a (patch)
tree7542629b509bc67f72b1f19439caccc9ec9738c4 /sci-libs/hdf5
parentVersion bump to 1.1.1. (diff)
downloadgentoo-2-3f4296beffabcf5acb57b5cc8b507c18d9fba33a.tar.gz
gentoo-2-3f4296beffabcf5acb57b5cc8b507c18d9fba33a.tar.bz2
gentoo-2-3f4296beffabcf5acb57b5cc8b507c18d9fba33a.zip
Added some warnings for mpi
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/hdf5')
-rw-r--r--sci-libs/hdf5/ChangeLog5
-rw-r--r--sci-libs/hdf5/hdf5-1.8.4-r1.ebuild9
2 files changed, 12 insertions, 2 deletions
diff --git a/sci-libs/hdf5/ChangeLog b/sci-libs/hdf5/ChangeLog
index b16adbb01b35..ec8cd73c65de 100644
--- a/sci-libs/hdf5/ChangeLog
+++ b/sci-libs/hdf5/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/hdf5
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.52 2010/02/06 23:35:31 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.53 2010/02/10 17:21:57 bicatali Exp $
+
+ 10 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.4-r1.ebuild:
+ Added some warnings for mpi
05 Feb 2010; Raúl Porcel <armin76@gentoo.org> hdf5-1.8.4-r1.ebuild,
+files/hdf5-1.8.4-sigbus.patch:
diff --git a/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild b/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild
index 1113305378b6..d793a3684916 100644
--- a/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild,v 1.7 2010/02/05 19:01:27 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild,v 1.8 2010/02/10 17:21:57 bicatali Exp $
EAPI=2
inherit eutils autotools
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
pkg_setup() {
if use mpi; then
+ if has_version 'sci-libs/hdf5[-mpi]'; then
+ ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail."
+ ewarn "Try to uninstall the current hdf5 prior to enabling mpi support."
+ fi
if use cxx; then
ewarn "Simultaneous mpi and cxx is not supported by ${PN}"
ewarn "Will disable cxx interface"
@@ -36,6 +40,9 @@ pkg_setup() {
if use fortran; then
export FC=mpif90
fi
+ elif has_version 'sci-libs/hdf5[mpi]'; then
+ ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail."
+ ewarn "Try to uninstall the current hdf5 prior to disabling mpi support."
fi
}