Enable [compact] feature for pugixml port, reducing memory consumption (#47627)

Co-authored-by: Marton Ady <marton.ady@cern.ch>
This commit is contained in:
szakeetm 2025-10-08 19:38:35 +02:00 committed by GitHub
parent 70b56f6ad7
commit 26edb47cb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 2 deletions

View File

@ -6,10 +6,17 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
compact PUGIXML_COMPACT
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DPUGIXML_BUILD_TESTS=OFF
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()

View File

@ -1,6 +1,7 @@
{
"name": "pugixml",
"version": "1.15",
"port-version": 1,
"description": "Light-weight, simple and fast XML parser for C++ with XPath support",
"homepage": "https://github.com/zeux/pugixml",
"license": "MIT",
@ -13,5 +14,10 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"compact": {
"description": "Enable compact memory mode (reduces memory consumption at the cost of performance)"
}
}
}

View File

@ -7766,7 +7766,7 @@
},
"pugixml": {
"baseline": "1.15",
"port-version": 0
"port-version": 1
},
"pulsar-client-cpp": {
"baseline": "3.7.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e210d4650721b32c1e83bf0da6a0cf4c145bbbd9",
"version": "1.15",
"port-version": 1
},
{
"git-tree": "a3181de4dee35567b45611a938eb0f44f5ee016d",
"version": "1.15",