mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[fast-double-parser] Add the Fast Double Parser port (#39421)
This commit is contained in:
parent
384abec572
commit
d21e70ba80
13
ports/fast-double-parser/portfile.cmake
Normal file
13
ports/fast-double-parser/portfile.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO lemire/fast_double_parser
|
||||
REF "v${VERSION}"
|
||||
SHA512 14a23b9e2ddc924d66f2748134364c546c6511ad380fbf59313c1d77c14dc4b0d22367a44b423f835ff2941f8d9c511f18b97ce25eda826ddc08a8eaaf7014bd
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only port
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
7
ports/fast-double-parser/vcpkg.json
Normal file
7
ports/fast-double-parser/vcpkg.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "fast-double-parser",
|
||||
"version": "0.7.0",
|
||||
"description": "Fast function to parse strings into double (binary64) floating-point values, enforces the RFC 7159 (JSON standard) grammar: 4x faster than strtod",
|
||||
"homepage": "https://github.com/lemire/fast_double_parser",
|
||||
"license": "Apache-2.0"
|
||||
}
|
@ -2616,6 +2616,10 @@
|
||||
"baseline": "2021-01-03",
|
||||
"port-version": 2
|
||||
},
|
||||
"fast-double-parser": {
|
||||
"baseline": "0.7.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"fast-float": {
|
||||
"baseline": "6.1.1",
|
||||
"port-version": 0
|
||||
|
9
versions/f-/fast-double-parser.json
Normal file
9
versions/f-/fast-double-parser.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fac99fe686dd7874d02be06d78f4df1a6ac7358d",
|
||||
"version": "0.7.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user