Skip to content

Commit

Permalink
[fast-float] Update version to v3.2.0 (microsoft#21447)
Browse files Browse the repository at this point in the history
* fast-float update to v3.2.0

* update version

* update

* update version to v3.2.0

* update version

* update version

* update version

* update

* revert portfile.camke

* update version
  • Loading branch information
FrankXie05 authored Nov 20, 2021
1 parent 71ba14d commit 709e9ec
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 12 deletions.
17 changes: 8 additions & 9 deletions ports/fast-float/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fastfloat/fast_float
REF v0.8.0
SHA512 d3f39457859ff0132f773222db3684f9b1d4a8ed549dfceb7cfb12d8f5871f5282dfa9eb01d39646cf93ed42dd640cb6487831ec15079b4b154f5002ac74edd7
REF v3.2.0
SHA512 8c0819501f854688942bf2676a9592c537b14b472a942695d589a75499f43bef57a8cb98b41b285dcfc0122f804c85e477d5aee82750a69308bdbf16c98ce2a7
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_install_cmake()
vcpkg_cmake_install()

vcpkg_fixup_cmake_targets(CONFIG_PATH share/FastFloat TARGET_PATH share/FastFloat)
vcpkg_cmake_config_fixup(PACKAGE_NAME FastFloat CONFIG_PATH share/FastFloat)

file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE-MIT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
14 changes: 12 additions & 2 deletions ports/fast-float/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{
"name": "fast-float",
"version-string": "0.8.0",
"version": "3.2.0",
"description": "Fast and exact implementation of the C++ from_chars functions for float and double types: 4x faster than strtod",
"homepage": "https://github.com/fastfloat/fast_float"
"homepage": "https://github.com/fastfloat/fast_float",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@
"port-version": 1
},
"fast-float": {
"baseline": "0.8.0",
"baseline": "3.2.0",
"port-version": 0
},
"fastcdr": {
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/fast-float.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ff47650c46181763025a2149a7753a56c5c1c83c",
"version": "3.2.0",
"port-version": 0
},
{
"git-tree": "9f7f16bfca48a406b8682f54fe86a7ca9ad895b5",
"version-string": "0.8.0",
Expand Down

0 comments on commit 709e9ec

Please sign in to comment.