From 92417abc362ef576257a936cb7e6c222e0c465c3 Mon Sep 17 00:00:00 2001 From: Chase Knowlden Date: Wed, 19 Aug 2026 18:08:20 -0400 Subject: [PATCH] [simdutf] update to 9.1.0 (#53488) --- ports/simdutf/bindir.patch | 25 +++++++++++++++++++++++++ ports/simdutf/portfile.cmake | 12 ++++++++++-- ports/simdutf/vcpkg.json | 10 ++++++++-- versions/baseline.json | 2 +- versions/s-/simdutf.json | 5 +++++ 5 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 ports/simdutf/bindir.patch diff --git a/ports/simdutf/bindir.patch b/ports/simdutf/bindir.patch new file mode 100644 index 0000000000..0baf5ce9fd --- /dev/null +++ b/ports/simdutf/bindir.patch @@ -0,0 +1,25 @@ +diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt +index 7732e253..b85040b4 100644 +--- a/tools/CMakeLists.txt ++++ b/tools/CMakeLists.txt +@@ -107,16 +107,16 @@ install( + if(WIN32) + # On Windows, install a copy of fastbase64 as fastbase64.coreutils + install(PROGRAMS $ +- DESTINATION ${CMAKE_INSTALL_BINDIR} ++ DESTINATION tools/simdutf + RENAME fastbase64.coreutils + ) + else() + # On non-Windows, create a symlink fastbase64.coreutils -> fastbase64 at install time + install(CODE " +- if(IS_ABSOLUTE \"${CMAKE_INSTALL_BINDIR}\") +- set(BINDIR \"${CMAKE_INSTALL_BINDIR}\") ++ if(IS_ABSOLUTE \"tools/simdutf\") ++ set(BINDIR \"tools/simdutf\") + else() +- set(BINDIR \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}\") ++ set(BINDIR \"\${CMAKE_INSTALL_PREFIX}/tools/simdutf\") + endif() + set(BINDIR \"\$ENV{DESTDIR}\${BINDIR}\") + file(MAKE_DIRECTORY \"\${BINDIR}\") diff --git a/ports/simdutf/portfile.cmake b/ports/simdutf/portfile.cmake index 88d4254df4..b827d47e2e 100644 --- a/ports/simdutf/portfile.cmake +++ b/ports/simdutf/portfile.cmake @@ -2,13 +2,16 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO simdutf/simdutf REF "v${VERSION}" - SHA512 fe872845b5a873bacb5748f8c75e36e4b341b177db53104829ee1f93601fc11feffa27034b78b7dd4fb77cf489cd6db25037e2590a74f5748580d81768c87d77 + SHA512 7423222bd29c731b4dab7078ea7361ab91663af028938c44b97c8bbfa4c9e1ee8298a95bbed455dc90686b8f7c3b53be6506f3ae13741e84faffbafa253d86a5 HEAD_REF master + PATCHES + bindir.patch ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS FEATURES "tools" SIMDUTF_TOOLS + "tools" SIMDUTF_ICONV ) vcpkg_cmake_configure( @@ -27,4 +30,9 @@ if ("tools" IN_LIST FEATURES) endif() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") -vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-APACHE") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/tools") +vcpkg_install_copyright(FILE_LIST + "${SOURCE_PATH}/LICENSE-APACHE" + "${SOURCE_PATH}/LICENSE-MIT" +) diff --git a/ports/simdutf/vcpkg.json b/ports/simdutf/vcpkg.json index 8b623b4d3e..ec39c781a9 100644 --- a/ports/simdutf/vcpkg.json +++ b/ports/simdutf/vcpkg.json @@ -1,6 +1,6 @@ { "name": "simdutf", - "version-semver": "8.2.0", + "version-semver": "9.1.0", "description": "Unicode validation and transcoding at billions of characters per second", "homepage": "https://github.com/simdutf/simdutf", "license": "Apache-2.0 OR MIT", @@ -16,7 +16,13 @@ ], "features": { "tools": { - "description": "Build the fastbase64 and simdutf command line tools for transcoding strings" + "description": "Build the fastbase64 and simdutf command line tools for transcoding strings", + "dependencies": [ + { + "name": "libiconv", + "platform": "windows" + } + ] } } } diff --git a/versions/baseline.json b/versions/baseline.json index 711fb8de82..36b8b74dda 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9401,7 +9401,7 @@ "port-version": 0 }, "simdutf": { - "baseline": "8.2.0", + "baseline": "9.1.0", "port-version": 0 }, "simonbrunel-qtpromise": { diff --git a/versions/s-/simdutf.json b/versions/s-/simdutf.json index 354e6b3930..9938123b5c 100644 --- a/versions/s-/simdutf.json +++ b/versions/s-/simdutf.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f4b6e33f077c31edcbfe6f1c5e138d31563476fa", + "version-semver": "9.1.0", + "port-version": 0 + }, { "git-tree": "ab188ea87c24583e803e02cc7637ce17d5eec9b8", "version-semver": "8.2.0",