xarthisius 14/07/23 09:01:56 Modified: h5py-2.3.1.ebuild ChangeLog Log: 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)
Revision Changes Path 1.2 dev-python/h5py/h5py-2.3.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/h5py/h5py-2.3.1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/h5py/h5py-2.3.1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/h5py/h5py-2.3.1.ebuild?r1=1.1&r2=1.2 Index: h5py-2.3.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.3.1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- h5py-2.3.1.ebuild 22 Jul 2014 13:24:07 -0000 1.1 +++ h5py-2.3.1.ebuild 23 Jul 2014 09:01:56 -0000 1.2 @@ -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 @@ 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_compile() { if use mpi;then + export CC=mpicc distutils-r1_python_compile --mpi=yes else distutils-r1_python_compile @@ -43,7 +41,12 @@ } python_test() { - esetup.py test + if use mpi ; then + export CC=mpicc + esetup.py test --mpi + else + esetup.py test + fi } python_install_all() { 1.28 dev-python/h5py/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/h5py/ChangeLog?rev=1.28&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/h5py/ChangeLog?rev=1.28&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/h5py/ChangeLog?r1=1.27&r2=1.28 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/h5py/ChangeLog,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- ChangeLog 22 Jul 2014 13:26:07 -0000 1.27 +++ ChangeLog 23 Jul 2014 09:01:56 -0000 1.28 @@ -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 <xarthis...@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)