mirror of https://github.com/microsoft/vcpkg.git
[simdutf] update to 9.1.0 (#53488)
This commit is contained in:
parent
633a758f56
commit
92417abc36
|
|
@ -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 $<TARGET_FILE:fastbase64>
|
||||||
|
- 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}\")
|
||||||
|
|
@ -2,13 +2,16 @@ vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO simdutf/simdutf
|
REPO simdutf/simdutf
|
||||||
REF "v${VERSION}"
|
REF "v${VERSION}"
|
||||||
SHA512 fe872845b5a873bacb5748f8c75e36e4b341b177db53104829ee1f93601fc11feffa27034b78b7dd4fb77cf489cd6db25037e2590a74f5748580d81768c87d77
|
SHA512 7423222bd29c731b4dab7078ea7361ab91663af028938c44b97c8bbfa4c9e1ee8298a95bbed455dc90686b8f7c3b53be6506f3ae13741e84faffbafa253d86a5
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
|
PATCHES
|
||||||
|
bindir.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||||
FEATURES
|
FEATURES
|
||||||
"tools" SIMDUTF_TOOLS
|
"tools" SIMDUTF_TOOLS
|
||||||
|
"tools" SIMDUTF_ICONV
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
|
|
@ -27,4 +30,9 @@ if ("tools" IN_LIST FEATURES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
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"
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "simdutf",
|
"name": "simdutf",
|
||||||
"version-semver": "8.2.0",
|
"version-semver": "9.1.0",
|
||||||
"description": "Unicode validation and transcoding at billions of characters per second",
|
"description": "Unicode validation and transcoding at billions of characters per second",
|
||||||
"homepage": "https://github.com/simdutf/simdutf",
|
"homepage": "https://github.com/simdutf/simdutf",
|
||||||
"license": "Apache-2.0 OR MIT",
|
"license": "Apache-2.0 OR MIT",
|
||||||
|
|
@ -16,7 +16,13 @@
|
||||||
],
|
],
|
||||||
"features": {
|
"features": {
|
||||||
"tools": {
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9401,7 +9401,7 @@
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"simdutf": {
|
"simdutf": {
|
||||||
"baseline": "8.2.0",
|
"baseline": "9.1.0",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"simonbrunel-qtpromise": {
|
"simonbrunel-qtpromise": {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "f4b6e33f077c31edcbfe6f1c5e138d31563476fa",
|
||||||
|
"version-semver": "9.1.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "ab188ea87c24583e803e02cc7637ce17d5eec9b8",
|
"git-tree": "ab188ea87c24583e803e02cc7637ce17d5eec9b8",
|
||||||
"version-semver": "8.2.0",
|
"version-semver": "8.2.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue