Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hdf5] Update to 1.12.2 #24758

Merged
merged 22 commits into from
Jun 6, 2022
Merged

[hdf5] Update to 1.12.2 #24758

merged 22 commits into from
Jun 6, 2022

Conversation

Thieum
Copy link
Contributor

@Thieum Thieum commented May 17, 2022

Updates hdf5 to 1.12.2 : https://github.com/HDFGroup/hdf5/releases/tag/hdf5-1_12_2

  • What does your PR fix?

Updates hdf5 to 1.12.2

  • Which triplets are supported/not supported? Have you updated the CI baseline?

no change (tested locally on windows), N/A

Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

Yes

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/hdf5/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/hdf5/vcpkg.json

Valid values for the license field can be found in the documentation

@JonLiu1993 JonLiu1993 added the category:port-update The issue is with a library, which is requesting update new revision label May 18, 2022
@JonLiu1993
Copy link
Member

@Thieum ,Thanks for your pr, looks ci tested failed on many triplet
This is error log, please take a look:

CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/hdf5/vcpkg-cmake-wrapper.cmake:17 (_find_package):
  Could not find a package configuration file provided by "HDF5" with any of
  the following names:

    HDF5Config.cmake
    hdf5-config.cmake

  Add the installation prefix of "HDF5" to CMAKE_PREFIX_PATH or set
  "HDF5_DIR" to a directory containing one of the above files.  If "HDF5"
  provides a separate development package or SDK, be sure it has been
  installed.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for hdf5 have changed but the version was not updated
version: 1.12.2
old SHA: ce3e47d9a7157548c3213c7c4b3d4e8a1fdbc12a
new SHA: b74658ab825f76c17f40808d2e8f75fc83a91dd0
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/hdf5/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/hdf5/vcpkg.json

Valid values for the license field can be found in the documentation

@Thieum
Copy link
Contributor Author

Thieum commented May 18, 2022

@JonLiu1993 Is the comment at the top of ports\hdf5\portfile.cmake still valid?

# highfive should be updated together with hdf5

Should I update it in the same PR? Here is the latest release: https://github.com/BlueBrain/HighFive/releases/tag/v2.4.1

@JonLiu1993
Copy link
Member

@JonLiu1993 Is the comment at the top of ports\hdf5\portfile.cmake still valid?

# highfive should be updated together with hdf5

Should I update it in the same PR? Here is the latest release: https://github.com/BlueBrain/HighFive/releases/tag/v2.4.1

@Thieum, Looks CI test successfully , you can update hdf5 to v2.4.1 and commit a new pr. Thanks!

@Thieum Thieum marked this pull request as ready for review May 19, 2022 12:40
@JonLiu1993
Copy link
Member

@Thieum ,I tested the features on my locally machine by command "./vcpkg install hdf5[*]:x86-windows" but failed,
There is error log, pleasae take a look:

CMake Error at config/cmake_ext_mod/HDFUseFortran.cmake:16 (enable_language):
  No CMAKE_Fortran_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full
  path to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
  CMakeLists.txt:1066 (include)

@Neumann-A
Copy link
Contributor

@JonLiu1993 That is ok. (If you are only testing on windows)

@JonLiu1993
Copy link
Member

@JonLiu1993 That is ok. (If you are only testing on windows)

@Neumann-A, I re-tested the feature locally, I excluded the fortran feature, and the command ./vcpkg install hdf5[cpp,parallel,szip,threadsafe,tools,utils,zlib] still failed, this is the error log:

-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/lib/pkgconfig/hdf5_cpp.pc
-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/lib/pkgconfig/hdf5_hl.pc
-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/lib/pkgconfig/hdf5_hl_cpp.pc
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at F:/Feature-test/tree-sitter/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/debug/lib/pkgconfig/hdf5.pc
-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/debug/lib/pkgconfig/hdf5_cpp.pc
-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/debug/lib/pkgconfig/hdf5_hl.pc
-- Fixing pkgconfig file: F:/Feature-test/tree-sitter/vcpkg/packages/hdf5_x86-windows/debug/lib/pkgconfig/hdf5_hl_cpp.pc
CMake Error at scripts/cmake/vcpkg_copy_tools.cmake:70 (message):
  Couldn't find tool "h5perf_serial":

      "F:/Feature-test/vcpkg/packages/hdf5_x86-windows/bin/h5perf_serial.exe" does not exist
Call Stack (most recent call first):
  ports/hdf5/portfile.cmake:120 (vcpkg_copy_tools)
  scripts/ports.cmake:146 (include)


error: building hdf5:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+hdf5
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[hdf5]+Build+error
Include '[hdf5] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
    vcpkg-scripts version: 3d0cfc7a1 2022-05-18 (2 days ago)

@Thieum
Copy link
Contributor Author

Thieum commented May 24, 2022

@JonLiu1993 added a guard for the optional tool.

ports/hdf5/portfile.cmake Outdated Show resolved Hide resolved
ports/hdf5/portfile.cmake Outdated Show resolved Hide resolved
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: unable to parse versions file /home/runner/work/vcpkg/vcpkg/versions/h-/hdf5.json
Error: failed to parse versions file for `hdf5`: :8:17: error: Unexpected character in middle of array
    on expression:       "git-tree": "c6491dde27884b1326e6f74f3862c1ae63a122ca",
                                   ^

Copy link
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

ports/hdf5/portfile.cmake Outdated Show resolved Hide resolved
@Thieum
Copy link
Contributor Author

Thieum commented Jun 3, 2022

@JonLiu1993 I think all the comments have been fixed. Let me know if anything else can be improved!

@JonLiu1993
Copy link
Member

All features are tested successufully in the following triplet:

  • x86-windows
  • x64-windows
  • x64-windows-static

@JonLiu1993 JonLiu1993 added the info:reviewed Pull Request changes follow basic guidelines label Jun 6, 2022
@ras0219-msft ras0219-msft merged commit 57ef47d into microsoft:master Jun 6, 2022
@ras0219-msft
Copy link
Contributor

Thanks for the update!

@Thieum Thieum deleted the hdf5-1.12.2 branch July 7, 2022 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants