fastfloat: add recipe

A header-only library for fast number parsing
An older version of this recipe is included in meta-oe, since fastfloat
is also used by libplacebo. If the recipe is accepted, I will send a patch for
removal there.

The reason why this is needed in oe-core is the upcoming vte release,
which uses fastfloat but pulls it as a wrap-based subproject by default.

(From OE-Core rev: 09aba21e7eb51b2ebe5448135c8c2438985240fe)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Volk
2025-03-05 16:19:06 +01:00
committed by Richard Purdie
parent 6ab80d3d53
commit db3e08f820
2 changed files with 16 additions and 0 deletions

View File

@@ -174,6 +174,7 @@ RECIPE_MAINTAINER:pn-eudev = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-expat = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER:pn-expect = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-ffmpeg = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-fastfloat = "Markus Volk <f_l_k@t-online.de>"
RECIPE_MAINTAINER:pn-file = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER:pn-findutils = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER:pn-flac = "Michael Opdenacker <michael@opdenacker.org>"

View File

@@ -0,0 +1,15 @@
SUMMARY = "fast_float number parsing library: 4x faster than strtod"
HOMEPAGE = "https://github.com/fastfloat/fast_float"
LICENSE = "Apache-2.0 & BSL-1.0 & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE-MIT;md5=32b11d50c7d9788d4270f6a83f3e68eb \
file://LICENSE-APACHE;md5=81db248e90379bcfc0582b578b009bc3 \
file://LICENSE-BOOST;md5=2c7a3fa82e66676005cd4ee2608fd7d2 \
"
SRC_URI = "git://github.com/fastfloat/fast_float.git;protocol=https;branch=main"
SRCREV = "77cc847c842c49e7e3477c1e95da2b6540166d66"
S = "${WORKDIR}/git"
inherit cmake