From cfb9770742f67776312f53dce0092deae8d1ebb94b82ff07da31742e5f4ee4b6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 25 Jun 2014 08:48:59 +0000 Subject: [PATCH] Accepting request 238365 from devel:libraries:c_c++ - updated to 1.8.3: - Added an H5free_memory API call. This should be used to free memory that has been allocated by HDF5 API calls. H5Tget_member_name and H5Pget_class_name are two examples. The main motivation for this call is Windows, where it is common for application code and the HDF5 Library to be using different C run-time libraries (CRT). Using the new call ensures that the same CRT handles both the allocation and free. This new function can also be useful in any case where the library uses a different memory manager than the application, such as when a debug memory manager is in use or when the HDF5 Library is wrapped for use in a managed language like Python or Java. Fixes HDFFV-7710, 8519, and 8851. (DER - 2014/04/11) - The Core VFD (aka Memory VFD) can now be configured to track dirty regions in the file and only write out the changed regions on flush/close. Additionally, a "page aggregation" size can be set that will aggregate small writes into larger writes. For example, setting a 1 MiB page aggregation size will logically partition the the in-memory file into 1 MiB pages that will be written out in their entirety if even a single byte is dirtied. The feature is controlled via the new H5Pset/get_core_write_tracking() API call. A new "core_paged" target has been added to the check-vfd target in test/Makefile.am that exercises the feature over all HDF5 VFD-aware tests. (DER - 2014/04/12) - see http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.13-RELEASE.txt for more - modified patches: * hdf5-LD_LIBRARY_PATH.patch OBS-URL: https://build.opensuse.org/request/show/238365 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdf5?expand=0&rev=19 --- hdf5-1.8.12.tar.bz2 | 3 --- hdf5-1.8.13.tar.bz2 | 3 +++ hdf5-LD_LIBRARY_PATH.patch | 12 ------------ hdf5.changes | 30 ++++++++++++++++++++++++++++++ hdf5.spec | 9 +++------ 5 files changed, 36 insertions(+), 21 deletions(-) delete mode 100644 hdf5-1.8.12.tar.bz2 create mode 100644 hdf5-1.8.13.tar.bz2 diff --git a/hdf5-1.8.12.tar.bz2 b/hdf5-1.8.12.tar.bz2 deleted file mode 100644 index b698f65..0000000 --- a/hdf5-1.8.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d080f913a226a3ce390a11d9b571b2d5866581a2aa4434c398cd371c7063639 -size 5994832 diff --git a/hdf5-1.8.13.tar.bz2 b/hdf5-1.8.13.tar.bz2 new file mode 100644 index 0000000..e6b540c --- /dev/null +++ b/hdf5-1.8.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2f5a412107aba6f99fd7a4a9db6ce5f5fc8171ec931472784e5839d26aa17ef +size 9496378 diff --git a/hdf5-LD_LIBRARY_PATH.patch b/hdf5-LD_LIBRARY_PATH.patch index a220c68..8864656 100644 --- a/hdf5-LD_LIBRARY_PATH.patch +++ b/hdf5-LD_LIBRARY_PATH.patch @@ -1,15 +1,3 @@ ---- hdf5-1.8.10/configure.orig 2012-10-27 02:14:59.000000000 +0200 -+++ hdf5-1.8.10/configure 2012-11-18 14:17:44.572966644 +0100 -@@ -27496,9 +27496,6 @@ if ${hdf5_cv_printf_ll+:} false; then : - $as_echo_n "(cached) " >&6 - else - --LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo $AM_LDFLAGS $LDFLAGS | sed -e 's/-L/:/g' -e 's/ //g'`" --export LD_LIBRARY_PATH -- - for hdf5_cv_printf_ll in l ll L q unknown; do - if test "$cross_compiling" = yes; then : - continue --- hdf5-1.8.10/src/Makefile.in.orig 2012-10-27 02:14:55.000000000 +0200 +++ hdf5-1.8.10/src/Makefile.in 2012-11-17 11:11:17.755746326 +0100 @@ -1327,8 +1327,6 @@ help: diff --git a/hdf5.changes b/hdf5.changes index 635d755..f91bffa 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,4 +1,34 @@ ------------------------------------------------------------------- +Mon Jun 23 11:57:36 UTC 2014 - pgajdos@suse.com + +- updated to 1.8.3: + - Added an H5free_memory API call. This should be used to free memory + that has been allocated by HDF5 API calls. H5Tget_member_name and + H5Pget_class_name are two examples. The main motivation for this call + is Windows, where it is common for application code and the HDF5 Library + to be using different C run-time libraries (CRT). Using the new call + ensures that the same CRT handles both the allocation and free. This + new function can also be useful in any case where the library uses a + different memory manager than the application, such as when a debug + memory manager is in use or when the HDF5 Library is wrapped for use + in a managed language like Python or Java. Fixes HDFFV-7710, 8519, + and 8851. (DER - 2014/04/11) + - The Core VFD (aka Memory VFD) can now be configured to track dirty + regions in the file and only write out the changed regions on + flush/close. Additionally, a "page aggregation" size can be set that + will aggregate small writes into larger writes. For example, setting + a 1 MiB page aggregation size will logically partition the the + in-memory file into 1 MiB pages that will be written out in their + entirety if even a single byte is dirtied. The feature is controlled + via the new H5Pset/get_core_write_tracking() API call. A new + "core_paged" target has been added to the check-vfd target in + test/Makefile.am that exercises the feature over all HDF5 VFD-aware + tests. (DER - 2014/04/12) + - see http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.13-RELEASE.txt + for more +- modified patches: + * hdf5-LD_LIBRARY_PATH.patch +------------------------------------------------------------------- Sun Jan 5 03:59:20 UTC 2014 - matz@suse.de - Detect IBM long double specialness on ppc64le and don't segfault diff --git a/hdf5.spec b/hdf5.spec index e6dc411..89cb711 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -28,17 +28,14 @@ %define _mpi %{?_openmpi:openmpi} %{?_mvapich2:mvapich2} -# rpm may not like this original version number -%define xversion 1.8.12 - Name: hdf5 -Version: 1.8.12 +Version: 1.8.13 Release: 0 Summary: A general purpose library and file format for storing scientific data License: BSD-3-Clause Group: Development/Libraries/Other Url: http://www.hdfgroup.org/HDF5/ -Source0: http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-%{xversion}/src/hdf5-%{xversion}.tar.bz2 +Source0: http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-%{version}/src/hdf5-%{version}.tar.bz2 Patch0: hdf5-LD_LIBRARY_PATH.patch Patch1: hdf5-non_void_return.patch # not really needed but we want to get noticed if hdf5 doesn' t know our host @@ -278,7 +275,7 @@ This package provides the static libraries. %endif %prep -%setup -q -n %{name}-%{xversion} +%setup -q # don't forget to increase hdf5_libver, see also baselibs.conf LT_VERS_INTERFACE=$(sed -n 's/^ *LT_VERS_INTERFACE *= *//p' config/lt_vers.am) test "%{hdf5_libver}" = "${LT_VERS_INTERFACE}" || exit 1