diff options
| author | Matthieu Penant <thieum22@hotmail.com> | 2021-04-23 18:25:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 15:25:34 -0700 |
| commit | 99987d007a5f43ce1d67d0c94c146df195297ee6 (patch) | |
| tree | bd5fce53478ab271b5de248877d9b46504ea663a | |
| parent | 66b2cfb7e29a483fe95d1165be5b2c36c6273da2 (diff) | |
| download | vcpkg-99987d007a5f43ce1d67d0c94c146df195297ee6.tar.gz vcpkg-99987d007a5f43ce1d67d0c94c146df195297ee6.zip | |
[hdf5] threadsafe support (#17371)
* hdf5 threadsafe support
fixes #17260
* baseline + sha
| -rw-r--r-- | ports/hdf5/CONTROL | 5 | ||||
| -rw-r--r-- | ports/hdf5/portfile.cmake | 1 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/h-/hdf5.json | 5 |
4 files changed, 12 insertions, 1 deletions
diff --git a/ports/hdf5/CONTROL b/ports/hdf5/CONTROL index a9a4865ee..f1b8e2dd1 100644 --- a/ports/hdf5/CONTROL +++ b/ports/hdf5/CONTROL @@ -1,5 +1,6 @@ Source: hdf5 Version: 1.12.0 +Port-Version: 1 Homepage: https://www.hdfgroup.org/downloads/hdf5/ Description: HDF5 is a data model, library, and file format for storing and managing data Default-Features: szip, zlib @@ -27,3 +28,7 @@ Feature: fortran Description: Build with fortran Build-Depends: +Feature: threadsafe +Description: thread safety for HDF5 +Build-Depends: pthreads + diff --git a/ports/hdf5/portfile.cmake b/ports/hdf5/portfile.cmake index 0c8ee3c08..d15901b6b 100644 --- a/ports/hdf5/portfile.cmake +++ b/ports/hdf5/portfile.cmake @@ -30,6 +30,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS szip HDF5_ENABLE_SZIP_ENCODING zlib HDF5_ENABLE_Z_LIB_SUPPORT fortran HDF5_BUILD_FORTRAN + threadsafe HDF5_ENABLE_THREADSAFE ) file(REMOVE ${SOURCE_PATH}/config/cmake_ext_mod/FindSZIP.cmake)#Outdated; does not find debug szip diff --git a/versions/baseline.json b/versions/baseline.json index 53803c2d8..1e59c3564 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2434,7 +2434,7 @@ }, "hdf5": { "baseline": "1.12.0", - "port-version": 0 + "port-version": 1 }, "healpix": { "baseline": "1.12.10", diff --git a/versions/h-/hdf5.json b/versions/h-/hdf5.json index ce6720839..f09fdc202 100644 --- a/versions/h-/hdf5.json +++ b/versions/h-/hdf5.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "702697dde6af133b36ea056ffb5d99f83d09a86d", + "version-string": "1.12.0", + "port-version": 1 + }, + { "git-tree": "44e842d3e953523fb313d56e4af9bb51af40e507", "version-string": "1.12.0", "port-version": 0 |
