]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
fastfloat: add recipe
authorMarkus Volk <f_l_k@t-online.de>
Wed, 5 Mar 2025 15:19:06 +0000 (16:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Mar 2025 11:13:21 +0000 (11:13 +0000)
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.

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>
meta/conf/distro/include/maintainers.inc
meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb [new file with mode: 0644]

index a6f413caa9308dcd8d363cdb276bd6687c0dd27f..5515d46ca5b1aad22c46665c78e4707bc22e3a0a 100644 (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>"
diff --git a/meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb b/meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb
new file mode 100644 (file)
index 0000000..6426a1d
--- /dev/null
@@ -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