Package Details: mingw-w64-hdf5 1.10.1-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-hdf5.git (read-only)
Package Base: mingw-w64-hdf5
Description: General purpose library and file format for storing scientific data (mingw-w64)
Upstream URL: http://www.hdfgroup.org/HDF5/
Licenses: custom
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 0
Popularity: 0.000000
First Submitted: 2013-11-21 21:44
Last Updated: 2017-08-26 07:44

Latest Comments

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:

-DHDF5_ENABLE_Z_LIB_SUPPORT=ON \
-DHDF5_ENABLE_SZIP_SUPPORT=OFF \
-DHDF5_ENABLE_SZIP_ENCODING=OFF \

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 (https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1.tar.bz2). 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 \
-DHAVE_IOEO_EXITCODE=0 \
-DHDF5_PRINTF_LL_TEST_RUN=0 \
-DHDF5_PRINTF_LL_TEST_RUN__TRYRUN_OUTPUT= \
-DH5_FP_TO_INTEGER_OVERFLOW_WORKS_RUN=0 \
-DH5_FP_TO_INTEGER_OVERFLOW_WORKS_RUN__TRYRUN_OUTPUT= \
-DH5_LDOUBLE_TO_LONG_SPECIAL_RUN=1 \
-DH5_LDOUBLE_TO_LONG_SPECIAL_RUN__TRYRUN_OUTPUT= \
-DH5_LONG_TO_LDOUBLE_SPECIAL_RUN=1 \
-DH5_LONG_TO_LDOUBLE_SPECIAL_RUN__TRYRUN_OUTPUT= \
-DH5_LDOUBLE_TO_LLONG_ACCURATE_RUN=0 \
-DH5_LDOUBLE_TO_LLONG_ACCURATE_RUN__TRYRUN_OUTPUT= \
-DH5_LLONG_TO_LDOUBLE_CORRECT_RUN=0 \
-DH5_LLONG_TO_LDOUBLE_CORRECT_RUN__TRYRUN_OUTPUT= \
-DH5_NO_ALIGNMENT_RESTRICTIONS_RUN=0 \
-DH5_NO_ALIGNMENT_RESTRICTIONS_RUN__TRYRUN_OUTPUT="

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

yep

ant32 commented on 2013-11-22 05:19

add mingw-w64-cmake to makedepends? http://arch.linuxx.org/logs/20131122-0353-mingw-w64-hdf5.log.tar.gz