Skip to content

Commit

Permalink
[matio] Merge mat73 and hdf5 features with mat73 name (#42103)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Nov 16, 2024
1 parent e10bf14 commit 8cbab05
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
4 changes: 2 additions & 2 deletions ports/matio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
hdf5 MATIO_WITH_HDF5
mat73 MATIO_WITH_HDF5
mat73 MATIO_MAT73
zlib MATIO_WITH_ZLIB
extended-sparse MATIO_EXTENDED_SPARSE
mat73 MATIO_MAT73
pic MATIO_PIC
)

Expand Down
19 changes: 4 additions & 15 deletions ports/matio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "matio",
"version": "1.5.27",
"port-version": 1,
"description": "MATLAB MAT File I/O Library",
"homepage": "https://github.com/tbeu/matio",
"license": "BSD-2-Clause",
Expand All @@ -11,15 +12,15 @@
}
],
"default-features": [
"hdf5",
"mat73",
"zlib"
],
"features": {
"extended-sparse": {
"description": "Enable extended sparse matrix data types not supported in MATLAB"
},
"hdf5": {
"description": "Check for HDF5 library",
"mat73": {
"description": "Enable support for version 7.3 MAT files using the HDF5 library",
"dependencies": [
{
"name": "hdf5",
Expand All @@ -34,18 +35,6 @@
}
]
},
"mat73": {
"description": "Enable support for version 7.3 MAT files",
"dependencies": [
{
"name": "matio",
"default-features": false,
"features": [
"hdf5"
]
}
]
},
"pic": {
"description": "Enable position-independent code (PIC), i.e., compilation with the -fPIC flag"
},
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5822,7 +5822,7 @@
},
"matio": {
"baseline": "1.5.27",
"port-version": 0
"port-version": 1
},
"matplotlib-cpp": {
"baseline": "2020-08-27",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/matio.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5365545edb3db0730c490d4b03dcb84e8f7839dd",
"version": "1.5.27",
"port-version": 1
},
{
"git-tree": "d841cddf1c82ca09a7f7b465219e6d5fd32b9db4",
"version": "1.5.27",
Expand Down

0 comments on commit 8cbab05

Please sign in to comment.