[xxhash] update to 0.8.2 (#32717)

This commit is contained in:
Mengna Li 2023-07-25 01:57:01 +08:00 committed by GitHub
parent 42d20de59d
commit 4b101395a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 25 deletions

View File

@ -1,13 +0,0 @@
diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt
index d5456b0..aed0db5 100644
--- a/cmake_unofficial/CMakeLists.txt
+++ b/cmake_unofficial/CMakeLists.txt
@@ -122,7 +122,7 @@ if(NOT XXHASH_BUNDLED_MODE)
install(TARGETS xxhsum
EXPORT xxHashTargets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
- install(FILES "${XXHASH_DIR}/xxhsum.1"
+ install(FILES "${XXHASH_DIR}/cli/xxhsum.1"
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
endif(XXHASH_BUILD_XXHSUM)

View File

@ -1,11 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Cyan4973/xxHash
REF v0.8.1
SHA512 12feedd6a1859ef55e27218dbd6dcceccbb5a4da34cd80240d2f7d44cd246c7afdeb59830c2d5b90189bb5159293532208bf5bb622250102e12d6e1bad14a193
REF "v${VERSION}"
SHA512 3e3eef21432fe88bc4dd9940ccad0308fdea3537b06fa5ac0e74c1bde53413dff29c8b3fc617a8a42b9ce88fcf213311d338a31b1ce73b3729342c9e68f06c78
HEAD_REF dev
PATCHES
fix_xxhsum1_path.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@ -13,7 +11,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/cmake_unofficial
SOURCE_PATH "${SOURCE_PATH}/cmake_unofficial"
OPTIONS ${FEATURE_OPTIONS}
)
@ -25,9 +23,9 @@ if("xxhsum" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES xxhsum AUTO_CLEAN)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_fixup_pkgconfig()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,6 @@
{
"name": "xxhash",
"version": "0.8.1",
"port-version": 2,
"version": "0.8.2",
"description": "Extremely fast hash algorithm",
"homepage": "https://github.com/Cyan4973/xxHash",
"dependencies": [

View File

@ -8893,8 +8893,8 @@
"port-version": 1
},
"xxhash": {
"baseline": "0.8.1",
"port-version": 2
"baseline": "0.8.2",
"port-version": 0
},
"yajl": {
"baseline": "2.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4ebfe9c5b439ecc2f91beb32e6dbb7549dff29e4",
"version": "0.8.2",
"port-version": 0
},
{
"git-tree": "8c45988bd467674cb21961646a9379645a235ba5",
"version": "0.8.1",