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

[c4core, ryml] Update to latest version and add features #19282

Merged
merged 1 commit into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ports/c4core/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ vcpkg_fail_port_install(
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO biojppm/c4core
REF 75f879f21e75e7ee42cbbce5d6d7ce75fd315433
SHA512 d995e7529269a3968871c48bfe4b60dac52fb863f22250674d7fa3aa45b10c9f2851db12e97799c97f1c88123863034d0545c7e68a81441292c6530806a28cd3
REF 636f507c33f0c79dce491aec066455ff384d49dc
SHA512 3282876be5883b047e8d25ee392f62d2e9ae79af8fdd65c11b1e36d2fdb0648230fe6c7fb57472a4cbced166979351f12494215aa664977a113b74c26bb6f19b
HEAD_REF master
)

set(CM_COMMIT_HASH c6de791cd37ea3dc6bcb967819cb74b4f054a8f2)
set(CM_COMMIT_HASH fe41e86552046c3df9ba73a40bf3d755df028c1e)

# Get cmake scripts for c4core
vcpkg_download_distfile(CMAKE_ARCHIVE
URLS "https://github.com/biojppm/cmake/archive/${CM_COMMIT_HASH}.zip"
FILENAME "cmake-${CM_COMMIT_HASH}.zip"
SHA512 2d3f2d8d207f7d9c583b1f0bb35a1f4e0ed571ecdf7d5e745467f4f39cd82b860fc84d220c48a2d01e0ab805ce750133b73006b2f19920c95b1f85c7431459e3
SHA512 7292f9856d9c41581f2731e73fdf08880e0f4353b757da38a13ec89b62c5c8cb52b9efc1a9ff77336efa0b6809727c17649e607d8ecacc965a9b2a7a49925237
)

vcpkg_extract_source_archive_ex(
Expand Down
2 changes: 1 addition & 1 deletion ports/c4core/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "c4core",
"version-date": "2021-06-26",
"version-date": "2021-07-18",
"description": "Library of low-level C++ utilities",
"homepage": "https://github.com/biojppm/c4core",
"supports": "!osx"
Expand Down
16 changes: 12 additions & 4 deletions ports/ryml/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ vcpkg_fail_port_install(
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO biojppm/rapidyaml
REF a1d5ed7c8ace0ab14340ba19dfed60f280eddac0
SHA512 27a7b7a3ee2f6bb63600907fbc2307b7da13a13b88605c0e7b628fe26878b120d0df9bc221d7d495c5212543db00f0b570f351e7e3e3bebb0c785a676a4d2469
REF affafd5db67208eb85413327595507314c068525
SHA512 31d827ead680828b3c0ad879290b17d4729d412e30a20459aea4b92a8f4f3b8397f82b09c27d918ab4b955289560b17697d5f15eaa4d24661ff46f5dbbc50fa8
HEAD_REF master
PATCHES cmake-fix.patch
)

set(CM_COMMIT_HASH c6de791cd37ea3dc6bcb967819cb74b4f054a8f2)
set(CM_COMMIT_HASH fe41e86552046c3df9ba73a40bf3d755df028c1e)

# Get cmake scripts for rapidyaml
vcpkg_download_distfile(CMAKE_ARCHIVE
URLS "https://github.com/biojppm/cmake/archive/${CM_COMMIT_HASH}.zip"
FILENAME "cmake-${CM_COMMIT_HASH}.zip"
SHA512 2d3f2d8d207f7d9c583b1f0bb35a1f4e0ed571ecdf7d5e745467f4f39cd82b860fc84d220c48a2d01e0ab805ce750133b73006b2f19920c95b1f85c7431459e3
SHA512 7292f9856d9c41581f2731e73fdf08880e0f4353b757da38a13ec89b62c5c8cb52b9efc1a9ff77336efa0b6809727c17649e607d8ecacc965a9b2a7a49925237
)

vcpkg_extract_source_archive_ex(
Expand All @@ -32,9 +32,17 @@ vcpkg_extract_source_archive_ex(
file(REMOVE_RECURSE "${SOURCE_PATH}/ext/c4core/cmake")
file(RENAME ${SOURCE_PATH_CMAKE} "${SOURCE_PATH}/ext/c4core/cmake")

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
def-callbacks RYML_DEFAULT_CALLBACKS
dbg RYML_DBG
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
${FEATURE_OPTIONS}
)

vcpkg_install_cmake()
Expand Down
15 changes: 13 additions & 2 deletions ports/ryml/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ryml",
"version-date": "2021-06-29",
"version-date": "2021-07-24",
"description": "Rapid YAML library",
"homepage": "https://github.com/biojppm/rapidyaml",
"supports": "!osx",
Expand All @@ -9,5 +9,16 @@
"name": "c4core",
"default-features": false
}
]
],
"default-features": [
"def-callbacks"
],
"features": {
"dbg": {
"description": "Enable (very verbose) ryml debug prints."
},
"def-callbacks": {
"description": "Enable ryml's default implementation of callbacks: allocate(), free(), error()"
}
}
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@
"port-version": 1
},
"c4core": {
"baseline": "2021-06-26",
"baseline": "2021-07-18",
"port-version": 0
},
"caf": {
Expand Down Expand Up @@ -5653,7 +5653,7 @@
"port-version": 0
},
"ryml": {
"baseline": "2021-06-29",
"baseline": "2021-07-24",
"port-version": 0
},
"ryu": {
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/c4core.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "eae79eece3a7383d94cc686275624cb49ee6a68e",
"version-date": "2021-07-18",
"port-version": 0
},
{
"git-tree": "9b07f8a38bbc4d13f8411921e6734753e15f8d50",
"version-date": "2021-06-26",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/ryml.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d97344132c58ae2aafb8c0ed1f23acde843404b5",
"version-date": "2021-07-24",
"port-version": 0
},
{
"git-tree": "f0ae9d06c774834182bdb333b0a5c96aa8c36b52",
"version-date": "2021-06-29",
Expand Down