medfile: build with hdf5 1.14
This commit is contained in:
parent
be55739ebb
commit
ce83a0c11c
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./hdf5-1.12.patch
|
./hdf5-1.14.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#error "Don't forget to update the test version here when you change the major version of the library !"
|
#error "Don't forget to update the test version here when you change the major version of the library !"
|
||||||
#endif
|
#endif
|
||||||
-#if H5_VERS_MINOR > 10
|
-#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 "Don't forget to check the compatibility version of the library, depending on the internal hdf model choice !"
|
||||||
#error "Cf. _MEDfileCreate ..."
|
#error "Cf. _MEDfileCreate ..."
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
* Un test autoconf permet de fixer un intervalle de version HDF à MED.
|
* Un test autoconf permet de fixer un intervalle de version HDF à MED.
|
||||||
*/
|
*/
|
||||||
-#if H5_VERS_MINOR > 10
|
-#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 !"
|
#error "Don't forget to change the compatibility version of the library !"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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).
|
• 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 > 10
|
||||||
+#if H5_VERS_MINOR > 12
|
+#if H5_VERS_MINOR > 14
|
||||||
#error "Don't forget to change the compatibility version of the library !"
|
#error "Don't forget to change the compatibility version of the library !"
|
||||||
#endif
|
#endif
|
||||||
/* L'avantage de bloquer le modèle interne HDF5
|
/* L'avantage de bloquer le modèle interne HDF5
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
-#if H5_VERS_MINOR > 10
|
-#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 !"
|
#error "Don't forget to change the compatibility version of the library !"
|
||||||
#endif
|
#endif
|
||||||
if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18) ) {
|
if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18) ) {
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
* Un test autoconf permet de fixer un intervalle de version HDF à MED.
|
* Un test autoconf permet de fixer un intervalle de version HDF à MED.
|
||||||
*/
|
*/
|
||||||
-#if H5_VERS_MINOR > 10
|
-#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 !"
|
#error "Don't forget to change the compatibility version of the library !"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
goto ERROR;
|
goto ERROR;
|
||||||
}
|
}
|
||||||
-#if H5_VERS_MINOR > 10
|
-#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 !"
|
#error "Don't forget to change the compatibility version of the library !"
|
||||||
#endif
|
#endif
|
||||||
if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18 ) ) {
|
if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18 ) ) {
|
Loading…
Reference in a new issue