[oe] [meta-oe][PATCH v2 1/2] pegtl: Initial recipe

Khem Raj raj.khem at gmail.com
Mon Jul 22 16:30:58 UTC 2019


On Sun, Jul 21, 2019 at 11:51 AM Ayoub Zaki <ayoub.zaki at embexus.com> wrote:
>
> Introduce the Parsing Expression Grammar Template Library (PEGTL)
> a zero-dependency C++ header-only parser combinator library for creating parsers
> according to the Parsing Expression Grammar (PEG).
> ---
>  meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb
>
> diff --git a/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb b/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb
> new file mode 100644
> index 000000000..ca175f868
> --- /dev/null
> +++ b/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb
> @@ -0,0 +1,12 @@
> +DESCRIPTION="header-only library for creating parsers according to Parsing Expression Grammar"
> +HOMEPAGE="https://github.com/taocpp/PEGTL"
> +LICENSE="MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=80cb066ab204c7fe022f1cfe0c2c6818"
> +
> +SRC_URI="https://github.com/taocpp/PEGTL/archive/${PV}.tar.gz"

lets not use archive from github instead use git fetcher itslelf

pegtl-2.1.4: https://github.com/taocpp/PEGTL/archive/2.1.4.tar.gz:
SRC_URI uses unstable GitHub archives [src-uri-bad]


secondly it also fails to build with clang/libc++, not going to block
on that but it will be good if there is a fix for it
https://errors.yoctoproject.org/Errors/Details/253679/

> +SRC_URI[md5sum] = "fe96a704913523763642a2c4c4618091"
> +SRC_URI[sha256sum] = "5699558ce06e8fad0530143199eeaefd29128fb4584879975c87947c8ad0395f"
> +
> +inherit cmake
> +
> +S="${WORKDIR}/PEGTL-${PV}"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list