[simdutf,scnlib] update to 4.0.9,2.0.2 (#36459)

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md)
- [X] SHA512s are updated for each updated download
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [ ] ~Any patches that are no longer applied are deleted from the
port's directory.~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
This commit is contained in:
Jia Yue Hua 2024-03-05 17:23:22 +08:00 committed by GitHub
parent da3e064417
commit 600378d3fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 35 additions and 6 deletions

View File

@ -0,0 +1,13 @@
diff --git a/include/scn/detail/pp_detect.h b/include/scn/detail/pp_detect.h
index e8c5081..2002559 100644
--- a/include/scn/detail/pp_detect.h
+++ b/include/scn/detail/pp_detect.h
@@ -527,7 +527,7 @@
// (2021-09-29 is the date of the commit introducing `multiline`,
// libstdc++ doesn't support checking for minor versions)
#if SCN_STDLIB_LIBCPP >= 15000 || SCN_STDLIB_GLIBCXX >= 12 || \
- (SCN_STDLIB_GLIBCXX == 11 && __GLIBCXX__ >= 20210929L)
+ (SCN_STDLIB_GLIBCXX == 11 && SCN_GCC_COMPAT_MINOR >= 4 && __GLIBCXX__ >= 20210929L)
#define SCN_HAS_STD_REGEX_MULTILINE 1
#else
#define SCN_HAS_STD_REGEX_MULTILINE 0

View File

@ -4,8 +4,9 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO eliaskosunen/scnlib
REF "v${VERSION}"
SHA512 5dc2cc0f0817710453c7741cb61df46b4d4a43af0ec5cbbba77e3b6fb055e906840c232f92df5c3f3a9643191268922f059eacb798978767c717cc3578eb117d
SHA512 12b9ae26a5ccc600aacad1e2b2287bfc0b6986a260e182c91541876bc5804fe661093ad10d1befda56803afc7a9aa9f0348820dbb5af4fa6fdf048f85b3bcef1
HEAD_REF master
PATCHES fix-SCN_HAS_STD_REGEX_MULTILINE-marco.patch
)
vcpkg_cmake_configure(
@ -16,6 +17,8 @@ vcpkg_cmake_configure(
-DSCN_BENCHMARKS=OFF
-DSCN_DOCS=OFF
-DSCN_RANGES=OFF
-DSCN_USE_EXTERNAL_SIMDUTF=ON
-DSCN_USE_EXTERNAL_FAST_FLOAT=ON
)
vcpkg_cmake_install()

View File

@ -1,9 +1,11 @@
{
"name": "scnlib",
"version": "1.1.2",
"version": "2.0.2",
"description": "scnlib is a modern C++ library for replacing scanf and std::istream",
"homepage": "https://scnlib.dev/",
"dependencies": [
"fast-float",
"simdutf",
{
"name": "vcpkg-cmake",
"host": true

View File

@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO simdutf/simdutf
REF "v${VERSION}"
SHA512 f9d307bc769450cc0ff967ad5d764db15a7c38011c17096fcb824e4a89c0ae29ae66137c9063b8c54a42937600d058a8bd31439cf12c68d31a0053b1b8dd619f
SHA512 39ffc41d8d6889603b72bbcdcb5bce6b0a98cd41299568cf9bd34f5cbc0d5950f96907eae21c0975b10d701c49d80bb839911672909c802e7f6d3b616fe6279c
HEAD_REF master
)
@ -21,6 +21,7 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
vcpkg_fixup_pkgconfig()
if ("tools" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES sutf AUTO_CLEAN)
endif()

View File

@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "simdutf",
"version-semver": "3.2.16",
"version-semver": "4.0.9",
"description": "Unicode validation and transcoding at billions of characters per second",
"homepage": "https://github.com/simdutf/simdutf",
"dependencies": [

View File

@ -7805,7 +7805,7 @@
"port-version": 0
},
"scnlib": {
"baseline": "1.1.2",
"baseline": "2.0.2",
"port-version": 0
},
"scope-guard": {
@ -8025,7 +8025,7 @@
"port-version": 0
},
"simdutf": {
"baseline": "3.2.16",
"baseline": "4.0.9",
"port-version": 0
},
"simonbrunel-qtpromise": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dec19b7a48e73d0f9422945a9ca65e7322c57618",
"version": "2.0.2",
"port-version": 0
},
{
"git-tree": "9d2d619116db10c60c0553f9ca6e155f16e05bdd",
"version": "1.1.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4d4511effb044b1b416e71a747a8f955bbf6047d",
"version-semver": "4.0.9",
"port-version": 0
},
{
"git-tree": "5c88dfda4ee0a79ae238b227b9866b5ad9f4651a",
"version-semver": "3.2.16",