[DebianGIS-dev] r1310 - packages/hdf5/trunk/debian
frankie at alioth.debian.org
frankie at alioth.debian.org
Wed Jan 2 14:37:41 UTC 2008
Author: frankie
Date: 2008-01-02 14:37:41 +0000 (Wed, 02 Jan 2008)
New Revision: 1310
Added:
packages/hdf5/trunk/debian/hdf5-H5public-openmpi.patch
Modified:
packages/hdf5/trunk/debian/changelog
packages/hdf5/trunk/debian/control
packages/hdf5/trunk/debian/control.in
packages/hdf5/trunk/debian/rules
Log:
Added OpenMPI support and other (minor) changes.
Modified: packages/hdf5/trunk/debian/changelog
===================================================================
--- packages/hdf5/trunk/debian/changelog 2007-12-31 10:04:08 UTC (rev 1309)
+++ packages/hdf5/trunk/debian/changelog 2008-01-02 14:37:41 UTC (rev 1310)
@@ -1,16 +1,22 @@
hdf5 (1.6.6-1) UNRELEASED; urgency=low
(NOT RELEASED YET)
+ [ Francesco Paolo Lovergine ]
* New upstream release. All Debian source changes already merged.
* Manually run "autoupdate; libtoolize --force --copy; aclocal; autoheader;
autoconf" in the base directory, and "autoupdate; libtoolize --force
--copy; aclocal; autoconf" in the c++/ directory.
- * Added new Homepage field in debian/control.
+ * Added Homepage field in debian/control.in
* Watch file updated.
(closes: #449723)
- -- Francesco Paolo Lovergine <frankie at debian.org> Wed, 07 Nov 2007 11:47:52 +0100
+ [ Adam C Powell IV ]
+ * Added OpenMPI version (closes: #457080)
+ * Patch to H5public.h for OpenMPI is for C++ programs which include
+ hdf5.h in an extern "C" block. Patch included for reference.
+ -- Francesco Paolo Lovergine <frankie at debian.org> Wed, 02 Jan 2008 13:44:49 +0100
+
hdf5 (1.6.5-5) unstable; urgency=low
* Changed maintainer and added uploards for true in control.in
Modified: packages/hdf5/trunk/debian/control
===================================================================
--- packages/hdf5/trunk/debian/control 2007-12-31 10:04:08 UTC (rev 1309)
+++ packages/hdf5/trunk/debian/control 2008-01-02 14:37:41 UTC (rev 1310)
@@ -3,9 +3,9 @@
Priority: optional
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
-Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), libjpeg62-dev, debhelper (>> 5)
-Standards-Version: 3.7.2
-Homepage: http://hdf.ncsa.uiuc.edu/products/hdf5/index.html
+Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), libopenmpi-dev, libjpeg62-dev, debhelper (>> 5)
+Standards-Version: 3.7.3
+Homepage: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-serial-1.6.6-0
Section: libs
@@ -67,6 +67,37 @@
.
This package contains development files for use with LAM.
+Package: libhdf5-openmpi-1.6.6-0
+Section: libs
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libhdf5-1.6.6-0
+Provides: libhdf5-1.6.6-0
+Description: Hierarchical Data Format 5 (HDF5) - runtime files - OpenMPI version
+ HDF5 is a file format and library for storing scientific data.
+ HDF5 was designed and implemented to address the deficiencies of
+ HDF4.x. It has a more powerful and flexible data model, supports
+ files larger than 2 GB, and supports parallel I/O.
+ .
+ This package contains runtime files for use with OpenMPI.
+
+Package: libhdf5-openmpi-dev
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libhdf5-openmpi-1.6.6-0 (= ${Source-Version}), libc6-dev, zlib1g-dev, libjpeg62-dev, libopenmpi-dev
+Conflicts: libhdf5-dev
+Provides: libhdf5-dev
+Suggests: libhdf5-doc
+Description: Hierarchical Data Format 5 (HDF5) - development files - OpenMPI version
+ HDF5 is a file format and library for storing scientific data.
+ HDF5 was designed and implemented to address the deficiencies of
+ HDF4.x. It has a more powerful and flexible data model, supports
+ files larger than 2 GB, and supports parallel I/O.
+ .
+ This package contains development files for use with OpenMPI.
+
Package: libhdf5-mpich-1.6.6-0
Section: libs
Priority: extra
Modified: packages/hdf5/trunk/debian/control.in
===================================================================
--- packages/hdf5/trunk/debian/control.in 2007-12-31 10:04:08 UTC (rev 1309)
+++ packages/hdf5/trunk/debian/control.in 2008-01-02 14:37:41 UTC (rev 1310)
@@ -3,8 +3,9 @@
Priority: optional
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
-Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), libjpeg62-dev, debhelper (>> 5)
-Standards-Version: 3.7.2
+Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), libopenmpi-dev, libjpeg62-dev, debhelper (>> 5)
+Standards-Version: 3.7.3
+Homepage: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-serial- at VERSION@-0
Section: libs
@@ -19,8 +20,6 @@
files larger than 2 GB, and supports parallel I/O.
.
This package contains runtime files for serial platforms.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-serial-dev
Section: libdevel
@@ -36,8 +35,6 @@
files larger than 2 GB, and supports parallel I/O.
.
This package contains development files for serial platforms.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-lam- at VERSION@-0
Section: libs
@@ -53,8 +50,6 @@
files larger than 2 GB, and supports parallel I/O.
.
This package contains runtime files for use with LAM.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-lam-dev
Section: libdevel
@@ -71,9 +66,38 @@
files larger than 2 GB, and supports parallel I/O.
.
This package contains development files for use with LAM.
+
+Package: libhdf5-openmpi- at VERSION@-0
+Section: libs
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libhdf5- at VERSION@-0
+Provides: libhdf5- at VERSION@-0
+Description: Hierarchical Data Format 5 (HDF5) - runtime files - OpenMPI version
+ HDF5 is a file format and library for storing scientific data.
+ HDF5 was designed and implemented to address the deficiencies of
+ HDF4.x. It has a more powerful and flexible data model, supports
+ files larger than 2 GB, and supports parallel I/O.
.
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
+ This package contains runtime files for use with OpenMPI.
+Package: libhdf5-openmpi-dev
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libhdf5-openmpi- at VERSION@-0 (= ${Source-Version}), libc6-dev, zlib1g-dev, libjpeg62-dev, libopenmpi-dev
+Conflicts: libhdf5-dev
+Provides: libhdf5-dev
+Suggests: libhdf5-doc
+Description: Hierarchical Data Format 5 (HDF5) - development files - OpenMPI version
+ HDF5 is a file format and library for storing scientific data.
+ HDF5 was designed and implemented to address the deficiencies of
+ HDF4.x. It has a more powerful and flexible data model, supports
+ files larger than 2 GB, and supports parallel I/O.
+ .
+ This package contains development files for use with OpenMPI.
+
Package: libhdf5-mpich- at VERSION@-0
Section: libs
Priority: extra
@@ -89,8 +113,6 @@
.
This package contains runtime files for use with MPICH. Warning: the
C++ interface is not provided for this version.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-mpich-dev
Section: libdevel
@@ -108,8 +130,6 @@
.
This package contains development files for use with MPICH. Warning:
the C++ interface is not provided for this version.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Package: libhdf5-doc
Section: doc
@@ -122,8 +142,6 @@
files larger than 2 GB, and supports parallel I/O.
.
This package contains documentation for HDF5.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Package: hdf5-tools
Section: science
@@ -136,5 +154,3 @@
files larger than 2 GB, and supports parallel I/O.
.
This package contains runtime tools for HDF5.
- .
- Home page: http://hdf.ncsa.uiuc.edu/HDF5/
Added: packages/hdf5/trunk/debian/hdf5-H5public-openmpi.patch
===================================================================
--- packages/hdf5/trunk/debian/hdf5-H5public-openmpi.patch (rev 0)
+++ packages/hdf5/trunk/debian/hdf5-H5public-openmpi.patch 2008-01-02 14:37:41 UTC (rev 1310)
@@ -0,0 +1,10 @@
+--- usr/include/H5public.h.old 2008-01-01 16:55:04.000000000 -0500
++++ usr/include/H5public.h 2008-01-01 16:53:37.000000000 -0500
+@@ -50,6 +50,7 @@
+ # include <stddef.h>
+ #endif
+ #ifdef H5_HAVE_PARALLEL
++# define OMPI_SKIP_MPICXX
+ # include <mpi.h>
+ #ifndef MPI_FILE_NULL /*MPIO may be defined in mpi.h already */
+ # include <mpio.h>
Modified: packages/hdf5/trunk/debian/rules
===================================================================
--- packages/hdf5/trunk/debian/rules 2007-12-31 10:04:08 UTC (rev 1309)
+++ packages/hdf5/trunk/debian/rules 2008-01-02 14:37:41 UTC (rev 1310)
@@ -12,6 +12,7 @@
version ?= $(shell echo $(pkgversion) | sed 's/-[^-]*$$//')
serpack = $(package)-serial-$(version)-0
lampack = $(package)-lam-$(version)-0
+openmpipack = $(package)-openmpi-$(version)-0
mpichpack = $(package)-mpich-$(version)-0
virtpack = $(package)-$(version)-0
@@ -48,17 +49,19 @@
--enable-shared --enable-production=$(USE_PROD)
-configure: configure-stamp-debian configure-stamp-serial configure-stamp-lam configure-stamp-mpich
+configure: configure-stamp-debian configure-stamp-serial configure-stamp-lam configure-stamp-openmpi configure-stamp-mpich
configure-stamp-debian: debian/control.in
cd debian && for i in *_devlib; do j=`basename $$i _devlib`; \
ln -sf $$i $(package)-serial-dev.$$j ; \
ln -sf $$i $(package)-lam-dev.$$j ; \
+ ln -sf $$i $(package)-openmpi-dev.$$j ; \
ln -sf $$i $(package)-mpich-dev.$$j ; \
done
cd debian && for i in *_shlib; do j=`basename $$i _shlib`; \
ln -sf $$i $(serpack).$$j ; \
ln -sf $$i $(lampack).$$j ; \
+ ln -sf $$i $(openmpipack).$$j ; \
ln -sf $$i $(mpichpack).$$j ; \
done
sed "s/@VERSION@/$(version)/g" debian/shlibs.in > debian/$(serpack).shlibs
@@ -83,6 +86,16 @@
--enable-parallel=yes
touch configure-stamp-lam
+configure-stamp-openmpi: configure-stamp-debian
+ dh_testdir
+ -mkdir debian/build-openmpi
+# configure version with lam
+ cd debian/build-openmpi && CPPFLAGS=-I/usr/lib/openmpi/include \
+ CC=mpicc.openmpi CXX=mpic++.openmpi RUNPARALLEL=/usr/bin/mpirun.openmpi \
+ ../../configure $(CONFIGURE_FLAGS) \
+ --enable-parallel=yes
+ touch configure-stamp-openmpi
+
configure-stamp-mpich: configure-stamp-debian
dh_testdir
-mkdir debian/build-mpich
@@ -94,7 +107,7 @@
--enable-parallel=yes
touch configure-stamp-mpich
-build: build-stamp-serial build-stamp-lam build-stamp-mpich
+build: build-stamp-serial build-stamp-lam build-stamp-openmpi build-stamp-mpich
build-stamp-serial: configure-stamp-serial
dh_testdir
@@ -106,6 +119,11 @@
$(MAKE) -C debian/build-lam/
touch build-stamp-lam
+build-stamp-openmpi: configure-stamp-openmpi
+ dh_testdir
+ $(MAKE) -C debian/build-openmpi/
+ touch build-stamp-openmpi
+
build-stamp-mpich: configure-stamp-mpich
dh_testdir
$(MAKE) -C debian/build-mpich/
@@ -116,12 +134,13 @@
dh_testroot
-rm -rf debian/build-serial
-rm -rf debian/build-lam
+ -rm -rf debian/build-openmpi
-rm -rf debian/build-mpich
-find debian -type l | xargs rm -f
grep -v ^\% debian/control.in | sed "s/@VERSION@/$(version)/g" > debian/control
dh_clean configure-stamp* build-stamp* install-stamp* debian/*.shlibs
-install: install-serial install-lam install-mpich install-doc
+install: install-serial install-lam install-openmpi install-mpich install-doc
install-serial: build-stamp-serial
dh_testdir
@@ -139,6 +158,15 @@
dh_install -p$(lampack) -p$(package)-lam-dev \
--sourcedir=debian/build-lam/tmpinst
+install-openmpi: build-stamp-openmpi
+ dh_testdir
+ dh_testroot
+ -mkdir debian/build-openmpi/tmpinst
+ $(MAKE) -C debian/build-openmpi/ install prefix=$(CURDIR)/debian/build-openmpi/tmpinst/usr
+ (cd debian/build-openmpi/tmpinst/usr && patch -p1 < ../../../hdf5-H5public-openmpi.patch)
+ dh_install -p$(openmpipack) -p$(package)-openmpi-dev \
+ --sourcedir=debian/build-openmpi/tmpinst
+
install-mpich: build-stamp-mpich
dh_testdir
dh_testroot
@@ -164,7 +192,7 @@
dh_md5sums -i
dh_builddeb -i
-binary-arch: build install-serial install-lam install-mpich
+binary-arch: build install-serial install-lam install-openmpi install-mpich
dh_testdir
dh_testroot
dh_installdocs -a
@@ -176,11 +204,13 @@
dh_fixperms -a
# dh_makeshlibs -p$(serpack) -V "$(serpack) | $(virtpack)"
dh_makeshlibs -p$(lampack) -V $(lampack)
+ dh_makeshlibs -p$(openmpipack) -V $(openmpipack)
dh_makeshlibs -p$(mpichpack) -V $(mpichpack)
dh_installdeb -a
- dh_shlibdeps -phdf5-tools -L$(serpack) -ldebian/$(serpack)/usr/lib
- dh_shlibdeps -p$(serpack) -L$(serpack) -ldebian/$(serpack)/usr/lib
+ dh_shlibdeps -phdf5-tools -L$(serpack) -ldebian/$(serpack)/usr/lib:debian/build-serial/test/.libs
+ dh_shlibdeps -p$(serpack) -L$(serpack) -ldebian/$(serpack)/usr/lib:debian/build-serial/test/.libs
dh_shlibdeps -p$(lampack) -L$(lampack) -ldebian/$(lampack)/usr/lib
+ dh_shlibdeps -p$(openmpipack) -L$(openmpipack) -ldebian/$(openmpipack)/usr/lib
dh_shlibdeps -p$(mpichpack) -L$(mpichpack) -ldebian/$(mpichpack)/usr/lib
dh_gencontrol -a
dh_md5sums -a
@@ -188,4 +218,4 @@
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure install-serial install-doc install-lam install-mpich
+.PHONY: build clean binary-indep binary-arch binary install configure install-serial install-doc install-lam install-openmpi install-mpich
More information about the Pkg-grass-devel
mailing list