diff mbox series

fastfloat: add recipe

Message ID 20250305151906.269922-1-f_l_k@t-online.de
State Accepted, archived
Commit 09aba21e7eb51b2ebe5448135c8c2438985240fe
Headers show
Series fastfloat: add recipe | expand

Commit Message

Markus Volk March 5, 2025, 3:19 p.m. UTC
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>
---
 meta/conf/distro/include/maintainers.inc          |  1 +
 .../recipes-devtools/fastfloat/fastfloat_8.0.0.bb | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb

Comments

Khem Raj March 6, 2025, 12:50 a.m. UTC | #1
On Wed, Mar 5, 2025 at 10:19 AM Markus Volk via lists.openembedded.org
<f_l_k=t-online.de@lists.openembedded.org> wrote:
>
> 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.
>

Yes, that's right. LGTM

> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta/conf/distro/include/maintainers.inc          |  1 +
>  .../recipes-devtools/fastfloat/fastfloat_8.0.0.bb | 15 +++++++++++++++
>  2 files changed, 16 insertions(+)
>  create mode 100644 meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb
>
> diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
> index a6f413caa9..5515d46ca5 100644
> --- a/meta/conf/distro/include/maintainers.inc
> +++ b/meta/conf/distro/include/maintainers.inc
> @@ -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
> index 0000000000..6426a1d2ec
> --- /dev/null
> +++ b/meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb
> @@ -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
> --
> 2.48.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#212320): https://lists.openembedded.org/g/openembedded-core/message/212320
> Mute This Topic: https://lists.openembedded.org/mt/111529479/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index a6f413caa9..5515d46ca5 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -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
index 0000000000..6426a1d2ec
--- /dev/null
+++ b/meta/recipes-devtools/fastfloat/fastfloat_8.0.0.bb
@@ -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