diff options
| author | georg-emg <71000124+georg-emg@users.noreply.github.com> | 2021-02-11 08:56:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-10 23:56:13 -0800 |
| commit | bfc3ba0aab3f4058f5fe1dd8d442bfa7bbcaee8a (patch) | |
| tree | 88fd0d0220d7f0a156517d6acd83585be5b13be5 | |
| parent | 087869eb3a70f17dd98b4a9ebd7182ab31a4b1e4 (diff) | |
| download | vcpkg-bfc3ba0aab3f4058f5fe1dd8d442bfa7bbcaee8a.tar.gz vcpkg-bfc3ba0aab3f4058f5fe1dd8d442bfa7bbcaee8a.zip | |
[fast-float] Add new port (#16144)
* added a port for the fast_float library
* Updated fast_float to version 0.8.0
* Added version files for fast-float
* Added newline at end of file
* Updated git-tree entry after change
* Fixed line endings
* Updated tree after change
* ran vcpkg x-add-version --all to fix versions for log4cpp, which were broken for some reason.
| -rw-r--r-- | ports/fast-float/portfile.cmake | 19 | ||||
| -rw-r--r-- | ports/fast-float/vcpkg.json | 6 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/f-/fast-float.json | 9 |
4 files changed, 38 insertions, 0 deletions
diff --git a/ports/fast-float/portfile.cmake b/ports/fast-float/portfile.cmake new file mode 100644 index 000000000..4044e5871 --- /dev/null +++ b/ports/fast-float/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO fastfloat/fast_float
+ REF v0.8.0
+ SHA512 d3f39457859ff0132f773222db3684f9b1d4a8ed549dfceb7cfb12d8f5871f5282dfa9eb01d39646cf93ed42dd640cb6487831ec15079b4b154f5002ac74edd7
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH share/FastFloat TARGET_PATH share/FastFloat)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
\ No newline at end of file diff --git a/ports/fast-float/vcpkg.json b/ports/fast-float/vcpkg.json new file mode 100644 index 000000000..d750f44b2 --- /dev/null +++ b/ports/fast-float/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "fast-float", + "version-string": "0.8.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" +} diff --git a/versions/baseline.json b/versions/baseline.json index 116382f91..268f0dafe 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1872,6 +1872,10 @@ "baseline": "2021-01-03", "port-version": 0 }, + "fast-float": { + "baseline": "0.8.0", + "port-version": 0 + }, "fastcdr": { "baseline": "1.0.15", "port-version": 0 diff --git a/versions/f-/fast-float.json b/versions/f-/fast-float.json new file mode 100644 index 000000000..9bf69087a --- /dev/null +++ b/versions/f-/fast-float.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "9f7f16bfca48a406b8682f54fe86a7ca9ad895b5", + "version-string": "0.8.0", + "port-version": 0 + } + ] +} |
