Skip to content

Commit

Permalink
[wyhash] New port (#27203)
Browse files Browse the repository at this point in the history
* Add wyhash

* Update CI baseline

* Add newline

* Update CI baseline

Co-authored-by: chausner <[email protected]>
  • Loading branch information
chausner and chausner authored Oct 17, 2022
1 parent ae47a08 commit 786655c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ports/wyhash/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO wangyi-fudan/wyhash
REF a5995b98ebfa7bd38bfadc0919326d2e7aabb805
SHA512 bf052e5f645af10c1fcee910f6afbcfdcd3c6b06a640f809ac112edd0ea2fe5ec00daacd9fe8489b310b5c6264c1fc69c68668331b3112b66b2cf0618ed18f47
HEAD_REF master
)

file(INSTALL "${SOURCE_PATH}/wyhash.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
7 changes: 7 additions & 0 deletions ports/wyhash/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "wyhash",
"version-date": "2022-10-12",
"description": "The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.",
"homepage": "https://github.com/wangyi-fudan/wyhash",
"license": "Unlicense"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7940,6 +7940,10 @@
"baseline": "3.2.1",
"port-version": 1
},
"wyhash": {
"baseline": "2022-10-12",
"port-version": 0
},
"x-plane": {
"baseline": "3.0.3",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/w-/wyhash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "630fa73f4c0f907cd3aee92b7b485574a2e59172",
"version-date": "2022-10-12",
"port-version": 0
}
]
}

0 comments on commit 786655c

Please sign in to comment.