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

Ayoub Zaki ayoub.zaki at embexus.com
Tue Jul 23 10:17:50 UTC 2019


Hi Khem,

On 22.07.19 18:30, Khem Raj wrote:
> 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]


you are right, I'll change that to use git fetcher.

I will send new patch.


Thanks !

>
>
> 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/


It does not seems an easy fix for build using clang/c++

>
>> +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



Mit freundlichen Grüßen / Kind regards

-- 
Ayoub Zaki
Embedded Systems Consultant

Vaihinger Straße 2/1
D-71634 Ludwigsburg

Mobile   : +4917662901545
Email    : ayoub.zaki at embexus.com
Homepage : https://embexus.com
VAT No.  : DE313902634



More information about the Openembedded-devel mailing list