[Pkg-octave-devel] Bug#756689: Bug#756689: octave: [hdf5 transition] please support hdf5 1.8.13 new packaging layout
Thomas Weber
tweber at debian.org
Mon Aug 4 11:09:56 UTC 2014
Hi Gilles,
On Fri, Aug 01, 2014 at 12:45:03AM +0200, Gilles Filippini wrote:
> Source: octave
> Version: 3.8.1-3
> Severity: important
> Tags: patch
> User: pini at debian.org
> Usertags: HDF5-transition
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi,
>
> The hdf5 1.8.13 package in experimental features a new layout for
> headers and libraries, so that all the binary packages are now
> co-installable.
Thanks for moving forward with this. Just some questions
1) Should hdf5-flags.patch ad hdf5-mkoctfile.patch be forwarded to upstream? How Debian-specific
are they?
2) My understanding of the changes to debian/rules is that we are going
with the serial HDF5 version here for Octave. What if one wants to use
the parallel version in a .oct file (a binary module for Octave)? Will
this be possible?
Best,
Thomas
> diff -Nru octave-3.8.1/debian/rules octave-3.8.1/debian/rules
> --- octave-3.8.1/debian/rules 2014-05-10 10:40:01.000000000 +0200
> +++ octave-3.8.1/debian/rules 2014-07-31 11:17:00.000000000 +0200
> @@ -36,6 +36,12 @@
> # libraries, for example the mesa graphics stack which also uses LLVM.
> JIT_FLAG := --disable-jit
>
> +# HDF5 paths
> +ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
> + HDF5_FLAGS := --with-hdf5-includedir=/usr/include/hdf5/serial \
> + --with-hdf5-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
> +endif
> +
> %:
> dh $@ --with autoreconf --parallel
>
> @@ -44,7 +50,7 @@
>
> # override normal dh_auto_configure call to pass OpenMP flag to it (#631831)
> override_dh_auto_configure:
> - dh_auto_configure -- --enable-openmp $(WITH_JAVA_FLAGS) $(JIT_FLAG)
> + dh_auto_configure -- --enable-openmp $(WITH_JAVA_FLAGS) $(JIT_FLAG) $(HDF5_FLAGS)
>
> # dh_auto_test tries to run "make test", so override it
> override_dh_auto_test:
> _______________________________________________
> Pkg-octave-devel mailing list
> Pkg-octave-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-octave-devel
More information about the Pkg-octave-devel
mailing list