[robin-hood-hashing] Add new port (#6709)

This commit is contained in:
myd7349 2019-06-01 03:42:27 +08:00 committed by Robert Schumacher
parent fb36b4e17c
commit 26a9338c50
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Source: robin-hood-hashing
Version: 3.2.13
Description: Fast & memory efficient hashtable based on robin hood hashing for C++14

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinus/robin-hood-hashing
REF 3.2.13
SHA512 5c508a1f43d2ca86c89b9aac3b17493a23b8ee3c7485438afc8e5eb4e697d663588e1945001ba3ba95dd1480b3c1b846079fadec5972e5ac4462117379052433
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/src/include/robin_hood.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)