Skip to content

Conversation

@lrknox
Copy link
Collaborator

@lrknox lrknox commented Dec 10, 2025

…update-version.sh, and update version to 2.1.0.


Important

Switch version setting to use VERSION.txt and CMake configure, updating version to 2.1.0 and adding scripts for version management.

  • Versioning:
    • Switch version setting to use VERSION.txt and CMake configure in CMakeLists.txt.
    • Update version to 2.1.0 in README.md, CHANGELOG.md, and H5public.h.
  • Scripts:
    • Add update-version.sh and update-version.bat for version file regeneration.
  • CMake:
    • Include HDF5Version.cmake for reading version from VERSION.txt.
    • Configure files with version information using CMake in CMakeLists.txt.
  • Java:
    • Add TestH5.java.in and TestH5.java for Java tests with version placeholders.
  • Documentation:
    • Update CHANGELOG.md and README.md to reflect version 2.1.0.

This description was created by Ellipsis for b0c7821. You can customize this summary. It will automatically update as commits are pushed.

…update-version.sh, and update version to 2.1.0.
if (HDF5_PROVIDES_JNI AND HDF5_Java_FOUND)
set (H5${EXTNAME}_JAVA_LIBRARY ${HDF5_JAVA_LIBRARY})
set (H5${EXTNAME}_JAVA_LIBRARIES ${HDF5_JAVA_LIBRARY})
message (STATUS "HDF5 lib:${H5${EXTNAME}_JAVA_LIBRARY} jars:${HDF5_JAVA_INCLUDE_DIRS}}")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical error: In the message on this line, there is an extra closing brace after ${HDF5_JAVA_INCLUDE_DIRS}, i.e. jars:${HDF5_JAVA_INCLUDE_DIRS}}. It should probably be jars:${HDF5_JAVA_INCLUDE_DIRS}.

Suggested change
message (STATUS "HDF5 lib:${H5${EXTNAME}_JAVA_LIBRARY} jars:${HDF5_JAVA_INCLUDE_DIRS}}")
message (STATUS "HDF5 lib:${H5${EXTNAME}_JAVA_LIBRARY} jars:${HDF5_JAVA_INCLUDE_DIRS}}")

}
catch (Throwable err) {
err.printStackTrace();
fail("TestH5Pfapl.createH5file: " + err);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical error: the error message text TestH5Pfapl.createH5file: appears to have a typo. It might be intended to be TestH5.createH5file:.

Suggested change
fail("TestH5Pfapl.createH5file: " + err);
fail("TestH5.createH5file: " + err);

*
* The most common cause of this failure is that an application was
* compiled with one version of HDF5 and is dynamically linked with a
* different version different version.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: In the H5check_version documentation, the phrase "different version" is duplicated. Consider revising the sentence to remove the duplicate, e.g., "... and is dynamically linked with a different version."

Suggested change
* different version different version.
* different version.

set (CTEST_SOURCE_VERSION "2.0.1")
set (CTEST_SOURCE_VERSEXT "")
set (CTEST_SOURCE_VERSION "2.1.0")
if ("" STREQUAL "")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something not quite right here!

set (HDF5_VERSION "2.0.1")
set (HDF5_VERSEXT "")
set (HDF5_VERSION "2.1.0")
if ("" STREQUAL "")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, looks like something is not getting configured correctly

@lrknox lrknox self-assigned this Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

2 participants