mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 06:51:38 +08:00
[simdutf] Update to 3.2.16 (#33004)
* [simdutf] Update simdutf version to 3.2.15 The command line tool that was added in version 2.0.0 of simdutf is available through the new "tools" feature. * [simdutf] Adjust baseline version * Apply suggestions from code review Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * [simdutf] Update baseline version * Revert all changes to the baseline This reverts commitb9114681dc
and7f71a77e83
. * Reset port version to 0 * Update baseline * [simdutf] Update to version 3.2.16 which fixes a build error when targeting x86-windows * [simdutf] Update version files --------- Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
This commit is contained in:
parent
a03fa63245
commit
bb14ab72d9
@ -1,22 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5453644..d3f2869 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -14,17 +14,10 @@ include(cmake/simdutf-flags.cmake)
|
||||
|
||||
set(SIMDUTF_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
-enable_testing()
|
||||
add_subdirectory(src)
|
||||
-add_subdirectory(tests)
|
||||
|
||||
|
||||
|
||||
-if(CMAKE_CXX_COMPILER_ID MATCHES GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
|
||||
- message(STATUS "The benchmark tool requires GCC 8.0 or better.")
|
||||
-else()
|
||||
- add_subdirectory(benchmarks)
|
||||
-endif()
|
||||
|
||||
|
||||
# ---- Install rules ----
|
@ -1,20 +1,29 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO simdutf/simdutf
|
||||
REF v1.0.0
|
||||
SHA512 3ab09aa61cb9765bf1a77de59c5b823ee58ae5e4badfd5dd70e511fd4f378f8d3917a5b577e7f275720b975740344968132ce0b3f628452bde67f2ab6cc82337
|
||||
REF "v${VERSION}"
|
||||
SHA512 f9d307bc769450cc0ff967ad5d764db15a7c38011c17096fcb824e4a89c0ae29ae66137c9063b8c54a42937600d058a8bd31439cf12c68d31a0053b1b8dd619f
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
disable-tests-and-benchmarks.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
"tools" SIMDUTF_TOOLS
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DSIMDUTF_TESTS=OFF
|
||||
-DSIMDUTF_BENCHMARKS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
if ("tools" IN_LIST FEATURES)
|
||||
vcpkg_copy_tools(TOOL_NAMES sutf AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE-APACHE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-APACHE")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "simdutf",
|
||||
"version-semver": "1.0.0",
|
||||
"port-version": 1,
|
||||
"version-semver": "3.2.16",
|
||||
"description": "Unicode validation and transcoding at billions of characters per second",
|
||||
"homepage": "https://github.com/simdutf/simdutf",
|
||||
"dependencies": [
|
||||
@ -13,5 +13,10 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"tools": {
|
||||
"description": "Build the simdutf command line tool for transcoding strings"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7605,8 +7605,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"simdutf": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 1
|
||||
"baseline": "3.2.16",
|
||||
"port-version": 0
|
||||
},
|
||||
"simple-fft": {
|
||||
"baseline": "2020-06-14",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5c88dfda4ee0a79ae238b227b9866b5ad9f4651a",
|
||||
"version-semver": "3.2.16",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "9d32f4a5bb9643b561a26f555064b2341a93df4b",
|
||||
"version-semver": "1.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user