aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorMatthieu Penant <thieum22@hotmail.com>2021-04-23 18:25:34 -0400
committerGitHub <noreply@github.com>2021-04-23 15:25:34 -0700
commit99987d007a5f43ce1d67d0c94c146df195297ee6 (patch)
treebd5fce53478ab271b5de248877d9b46504ea663a /ports
parent66b2cfb7e29a483fe95d1165be5b2c36c6273da2 (diff)
downloadvcpkg-99987d007a5f43ce1d67d0c94c146df195297ee6.tar.gz
vcpkg-99987d007a5f43ce1d67d0c94c146df195297ee6.zip
[hdf5] threadsafe support (#17371)
* hdf5 threadsafe support fixes #17260 * baseline + sha
Diffstat (limited to 'ports')
-rw-r--r--ports/hdf5/CONTROL5
-rw-r--r--ports/hdf5/portfile.cmake1
2 files changed, 6 insertions, 0 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