Package Details: mingw-w64-hdf5 1.10.1-1

Git Clone URL: (read-only)
Package Base: mingw-w64-hdf5
Description: General purpose library and file format for storing scientific data (mingw-w64)
Upstream URL:
Licenses: custom
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 1
Popularity: 0.317000
First Submitted: 2013-11-21 21:44
Last Updated: 2017-08-26 07:44

Latest Comments

ezacaria commented on 2017-09-29 05:14

Thanks for the further comments. I agree that it is simpler to do so, specially if you mention that there is further hassle in maintenance.

I tried without wine and setting -DHDF5_BUILD_TOOLS=ON. This attempts (and fails) to generate H5lib_settings.c, but at first glance the problem seems to be that the mingw-cmake is used when building the H5make_libsettings file, which results in a windows binary (therefore needing the workaround of using wine). This happens in file src/hdf5-1.10.1/build-x86_64-w64-mingw32/src/CMakeFiles/hdf5-static.dir/build.make.

If we, on the other hand, were to specify that these few files should be built with the regular Linux cmake, then wine would not be needed. I do not know enough of the cmake system to say if this is easy to do, and I have the feeling that it is more hassle than worth as you suggested earlier. Let us leave it for now :)

Thanks again!

xantares commented on 2017-09-28 17:52

Its easier to just require wine for the try compile checks instead of setting each cmake results var because it's a pain to maintain as they may change between releases or 32/64 arch. HDF5_BUILD_TOOLS is already off, and I doubt it has an impact on runtime checks.

ezacaria commented on 2017-09-28 15:24

Thanks again, and sorry for taking so long to come back with some feedback.

The szip package compiled without problems but I did not attempt to build/test if it works. The new hdf5 PKGBUILD, on the other hand, works and the zlib compression is also effective when used.

One comment on requiring wine to build this package, though. It occurred to me that perhaps we can compile the configuration tools (such as src/H5make_libsettings.c, which is responsible to generate H5lib_settings.c in the source before the actual compilation). Have you ever tried using "DHDF5_BUILD_TOOLS" to avoid the calls to wine?

xantares commented on 2017-08-16 20:26

updated, could you check ezacaria?
also added szip package if you want to enable it.

ezacaria commented on 2017-08-15 11:31

First off, thanks for the package!

I noticed that compression is not enabled when building the package. Even if the data sets show compression in the headers, the compression ratio is always 1 to 1 and no space savings are achieved.

This is easy to fix, though. I added the following to the PKGBUILD to force zlib support:


The basic zlib compression works now, without further pre-requisites (mingw-w64-zlib is already there). I could not compile the szip library in the mingw64 (or get the installation to compile it on the fly), but the zlib is enough for my purposes and therefore I disabled szip support.

I also used the same PKGBUILD with the newer version ( I am not sure if all the fixes in prepare() apply verbatim, though.

xantares commented on 2015-06-02 19:57

updating to 1.8.15 leads to weird compile errors, but this can be used:

cmake_args="-DCMAKE_BUILD_TYPE=Release \

ant32 commented on 2014-02-26 16:44

This package doesn't have a maintainer so you could add it and maintain it if you wanted.

Procedural commented on 2014-02-26 16:16

Can you add High Level library (hdf5_hl) for compiling as well? Thanks!

xantares commented on 2013-11-22 09:42


ant32 commented on 2013-11-22 05:19

add mingw-w64-cmake to makedepends?