[plf-colony][plf-list][plf-nanotimer][plf-stack] Add new ports (#7627)

This commit is contained in:
myd7349 2019-08-14 01:50:49 +08:00 committed by Victor Romero
parent fc7b1ff7a7
commit 886dad5911
8 changed files with 80 additions and 0 deletions

4
ports/plf-colony/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: plf-colony
Version: 2019-08-10
Description: An unordered data container providing fast iteration/insertion/erasure while maintaining pointer validity to non-erased elements
Homepage: https://www.plflib.org/

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mattreecebentley/plf_colony
REF 81fe8c4daf433491f14248837ee8ed5cf447c856
SHA512 a6ae03d383c94b0a758e7aedee2838d46b3665881e2c0823b064a3579140a351d96fec66d456de5843b6c4c8d2f6f6efac5f547841c08edd349b0f153e9c4871
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/plf_colony.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

4
ports/plf-list/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: plf-list
Version: 2019-08-10
Description: A drop-in replacement for std::list with 293% faster insertion, 57% faster erasure, 17% faster iteration and 77% faster sorting on average
Homepage: https://www.plflib.org/

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mattreecebentley/plf_list
REF 42fcfca9890598d1c1fda45eb9dbe2b2b2d4dd2b
SHA512 879157aac16dc1b76db942a8ddf25dc33ede10e769496b7f300a070913c6c6946cb40853dd3071ecf3d9c870e1dee5d420d42fbb388e83361235659171f6bd44
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/plf_list.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

View File

@ -0,0 +1,4 @@
Source: plf-nanotimer
Version: 2019-08-10
Description: A simple C++ 03/11/etc timer class for ~microsecond-precision cross-platform benchmarking
Homepage: https://www.plflib.org/

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mattreecebentley/plf_nanotimer
REF bc8b44d2befc4395f63701c923ece89835d8415c
SHA512 ec816e82ab855dd7029b03931ffb1e945d3e77f7bb446c4985c4a8404afe20e9de8fac02f64459c47c34e31c06fa8838dba310263197d309e39ec1b0b5da0b6d
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/plf_nanotimer.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

4
ports/plf-stack/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: plf-stack
Version: 2019-08-10
Description: A C++ data container replicating std::stack functionality but with better performance
Homepage: https://www.plflib.org/

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mattreecebentley/plf_stack
REF 9d046154d8954eafc12f8d4845505beec8c4a5da
SHA512 2202bbff0e93bf515ae7b237551d084dcba9b870bca82f49b4e1a64446f4574079b0cb45fb91f0ad0472e008f21ad014464b45e307ffa6dab19affc6dc38626a
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/plf_stack.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)