[packages/hdf5] - partial mpi bcond - release 2 (rebuild .mod files with gfortran 4.9.x)

qboosh qboosh at pld-linux.org
Thu Jan 29 21:10:28 CET 2015


commit a231b1b3046b5d63adbc2015b6d68accd962a9af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jan 29 21:12:36 2015 +0100

    - partial mpi bcond
    - release 2 (rebuild .mod files with gfortran 4.9.x)

 hdf5.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/hdf5.spec b/hdf5.spec
index b426f4e..2898a3a 100644
--- a/hdf5.spec
+++ b/hdf5.spec
@@ -1,16 +1,17 @@
 # TODO:
-# - build with MPICH
+# - finish (optional) MPI support (1.8.14: fails on mpi_file_open check)
 # - check missing file
 #
 # Conditional build:
 %bcond_without	fortran2003	# Fortran 2003 interface
-%bcond_without	szip		# build without SZIP support
+%bcond_without	szip		# SZIP compression support
+%bcond_with	mpi		# parallel version of library using MPI
 #
 Summary:	Hierarchical Data Format 5 library
 Summary(pl.UTF-8):	Biblioteka HDF5 (Hierarchical Data Format 5)
 Name:		hdf5
 Version:	1.8.14
-Release:	1
+Release:	2
 License:	Nearly BSD, but changed sources must be marked
 Group:		Libraries
 Source0:	ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
@@ -26,6 +27,7 @@ BuildRequires:	gcc-fortran >= %{?with_fortran2003:6:4.2}%{!?with_fortran2003:5:4
 BuildRequires:	libjpeg-devel >= 6b
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2.2
+%{?with_mpi:BuildRequires:	mpi-devel}
 %{?with_szip:BuildRequires:	szip-devel >= 2.0}
 BuildRequires:	zlib-devel >= 1.1.3
 Obsoletes:	hdf5_hl
@@ -188,7 +190,9 @@ Narzędzia do konwersji z i to formatu HDF5.
 	--enable-fortran \
 	%{?with_fortran2003:--enable-fortran2003} \
 	--enable-linux-lfs \
+	%{?with_mpi:--enable-parallel --enable-unsupported} \
 	--enable-production \
+	--enable-shared \
 	--with-pthread \
 	%{?with_szip:--with-szlib}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hdf5.git/commitdiff/a231b1b3046b5d63adbc2015b6d68accd962a9af



More information about the pld-cvs-commit mailing list