Skip to content

Commit

Permalink
Merge pull request NixOS#218705 from gebner/medfile-hdf5-114
Browse files Browse the repository at this point in the history
medfile: build with hdf5 1.14
  • Loading branch information
gebner authored Feb 28, 2023
2 parents 3bc99d8 + ce83a0c commit 8d38e23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/medfile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};

patches = [
./hdf5-1.12.patch
./hdf5-1.14.patch
];

nativeBuildInputs = [ cmake ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#error "Don't forget to update the test version here when you change the major version of the library !"
#endif
-#if H5_VERS_MINOR > 10
+#if H5_VERS_MINOR > 12
+#if H5_VERS_MINOR > 14
#error "Don't forget to check the compatibility version of the library, depending on the internal hdf model choice !"
#error "Cf. _MEDfileCreate ..."
#endif
Expand All @@ -36,7 +36,7 @@
* Un test autoconf permet de fixer un intervalle de version HDF à MED.
*/
-#if H5_VERS_MINOR > 10
+#if H5_VERS_MINOR > 12
+#if H5_VERS_MINOR > 14
#error "Don't forget to change the compatibility version of the library !"
#endif

Expand All @@ -47,7 +47,7 @@
• The creation order tracking property, H5P_CRT_ORDER_TRACKED, has been set in the group creation property list (see H5Pset_link_creation_order).
*/
-#if H5_VERS_MINOR > 10
+#if H5_VERS_MINOR > 12
+#if H5_VERS_MINOR > 14
#error "Don't forget to change the compatibility version of the library !"
#endif
/* L'avantage de bloquer le modèle interne HDF5
Expand All @@ -58,7 +58,7 @@
}

-#if H5_VERS_MINOR > 10
+#if H5_VERS_MINOR > 12
+#if H5_VERS_MINOR > 14
#error "Don't forget to change the compatibility version of the library !"
#endif
if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18) ) {
Expand All @@ -69,7 +69,7 @@
* Un test autoconf permet de fixer un intervalle de version HDF à MED.
*/
-#if H5_VERS_MINOR > 10
+#if H5_VERS_MINOR > 12
+#if H5_VERS_MINOR > 14
#error "Don't forget to change the compatibility version of the library !"
#endif

Expand All @@ -80,7 +80,7 @@
goto ERROR;
}
-#if H5_VERS_MINOR > 10
+#if H5_VERS_MINOR > 12
+#if H5_VERS_MINOR > 14
#error "Don't forget to change the compatibility version of the library !"
#endif
if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18 ) ) {

0 comments on commit 8d38e23

Please sign in to comment.