diff options
| author | Ryan <ryan__mckenzie@hotmail.com> | 2021-03-15 10:58:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 10:58:30 -0700 |
| commit | 2fc15828269c57797a8bae583f4977e31b7bfb8d (patch) | |
| tree | 69032ec006dd888bde37120d45f4a4ed01aa9f88 /ports | |
| parent | 75522bb1f2e7d863078bcd06322348f053a9e33f (diff) | |
| download | vcpkg-2fc15828269c57797a8bae583f4977e31b7bfb8d.tar.gz vcpkg-2fc15828269c57797a8bae583f4977e31b7bfb8d.zip | |
[robin-hood-hashing] update to 3.10.0 (#16701)
* [robin-hood-hashing] update to 3.10.0
* update version files
* fix version field
* update version
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/robin-hood-hashing/CONTROL | 4 | ||||
| -rw-r--r-- | ports/robin-hood-hashing/portfile.cmake | 38 | ||||
| -rw-r--r-- | ports/robin-hood-hashing/vcpkg.json | 16 |
3 files changed, 42 insertions, 16 deletions
diff --git a/ports/robin-hood-hashing/CONTROL b/ports/robin-hood-hashing/CONTROL deleted file mode 100644 index c17463e72..000000000 --- a/ports/robin-hood-hashing/CONTROL +++ /dev/null @@ -1,4 +0,0 @@ -Source: robin-hood-hashing -Version: 3.9.1 -Homepage: https://github.com/martinus/robin-hood-hashing -Description: Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20 diff --git a/ports/robin-hood-hashing/portfile.cmake b/ports/robin-hood-hashing/portfile.cmake index a273467c4..0aadd73ab 100644 --- a/ports/robin-hood-hashing/portfile.cmake +++ b/ports/robin-hood-hashing/portfile.cmake @@ -1,12 +1,26 @@ -# header-only library - -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO martinus/robin-hood-hashing - REF 3.9.1 - SHA512 dbd614b772171d3e1d47e01513b3aa56d086a0530bad80931dbee4c3674e08c31cb023ac2cd3e9cadd86db76856ccc4c7a0fa9f7cd653044cd68c82e1a4c9c9c - HEAD_REF master -) - -file(INSTALL ${SOURCE_PATH}/src/include/robin_hood.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO martinus/robin-hood-hashing
+ REF 3.10.0
+ SHA512 38ab7fa33a1516933155dda06e3b83860810c33cc6ae4fa48e31389da870bb8037a210a4596576061ef67b51e791d2c7ab5a02dad5e323612e53dff7561801ff
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -DRH_STANDALONE_PROJECT=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME robin_hood
+ CONFIG_PATH lib/cmake/robin_hood
+)
+
+file(REMOVE_RECURSE
+ ${CURRENT_PACKAGES_DIR}/debug
+ ${CURRENT_PACKAGES_DIR}/lib
+)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/robin-hood-hashing/vcpkg.json b/ports/robin-hood-hashing/vcpkg.json new file mode 100644 index 000000000..edeb9eefe --- /dev/null +++ b/ports/robin-hood-hashing/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "robin-hood-hashing", + "version": "3.10.0", + "description": "Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20", + "homepage": "https://github.com/martinus/robin-hood-hashing", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |
