summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2014-07-23 09:01:56 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2014-07-23 09:01:56 +0000
commitfa45e09f3aa46f825b972b06ca251923f75bdd36 (patch)
tree17130a20d3b7257332fa970e5e99886b1472134e /dev-python/h5py
parentbump, rm old (diff)
downloadgentoo-2-fa45e09f3aa46f825b972b06ca251923f75bdd36.tar.gz
gentoo-2-fa45e09f3aa46f825b972b06ca251923f75bdd36.tar.bz2
gentoo-2-fa45e09f3aa46f825b972b06ca251923f75bdd36.zip
Use mpi wrapper when compiling with parallel hdf5. Tests with USE=mpi are completely fine
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
Diffstat (limited to 'dev-python/h5py')
-rw-r--r--dev-python/h5py/ChangeLog6
-rw-r--r--dev-python/h5py/h5py-2.3.1.ebuild13
2 files changed, 13 insertions, 6 deletions
diff --git a/dev-python/h5py/ChangeLog b/dev-python/h5py/ChangeLog
index f38baa079be9..7ee61a627ef4 100644
--- a/dev-python/h5py/ChangeLog
+++ b/dev-python/h5py/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/h5py
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/ChangeLog,v 1.27 2014/07/22 13:26:07 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/ChangeLog,v 1.28 2014/07/23 09:01:56 xarthisius Exp $
+
+ 23 Jul 2014; Kacper Kowalik <xarthisius@gentoo.org> h5py-2.3.1.ebuild:
+ Use mpi wrapper when compiling with parallel hdf5. Tests with USE=mpi are
+ completely fine
*h5py-2.3.1 (22 Jul 2014)
diff --git a/dev-python/h5py/h5py-2.3.1.ebuild b/dev-python/h5py/h5py-2.3.1.ebuild
index 117ad4138269..261ef0d45fba 100644
--- a/dev-python/h5py/h5py-2.3.1.ebuild
+++ b/dev-python/h5py/h5py-2.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.3.1.ebuild,v 1.1 2014/07/22 13:24:07 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.3.1.ebuild,v 1.2 2014/07/23 09:01:56 xarthisius Exp $
EAPI=5
@@ -26,9 +26,6 @@ DEPEND="${RDEPEND}
mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
DISTUTILS_NO_PARALLEL_BUILD=1
-# Testsuite is written for a non mpi build
-REQUIRED_USE="test? ( !mpi )"
-
python_prepare_all() {
append-cflags -fno-strict-aliasing
distutils-r1_python_prepare_all
@@ -36,6 +33,7 @@ python_prepare_all() {
python_compile() {
if use mpi;then
+ export CC=mpicc
distutils-r1_python_compile --mpi=yes
else
distutils-r1_python_compile
@@ -43,7 +41,12 @@ python_compile() {
}
python_test() {
- esetup.py test
+ if use mpi ; then
+ export CC=mpicc
+ esetup.py test --mpi
+ else
+ esetup.py test
+ fi
}
python_install_all() {