diff options
| author | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-08 20:26:24 -0700 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-08 23:16:33 -0700 |
| commit | 95720367b2370b39b8a294d682e4fa5c69ebda07 (patch) | |
| tree | 4c1ce564aa51dcae6b1dd67fd081e82a141b9972 | |
| parent | db2433795cf293ab444a5e22aa4acc3aa909ad96 (diff) | |
| download | meta-openembedded-95720367b2370b39b8a294d682e4fa5c69ebda07.tar.gz | |
pegtl: Upgrade to 4.0.0
Fixes build with gcc 16 as well.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb | 23 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb | 21 |
2 files changed, 21 insertions, 23 deletions
diff --git a/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb b/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb deleted file mode 100644 index 4d540d0180..0000000000 --- a/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | DESCRIPTION = "header-only library for creating parsers according to Parsing Expression Grammar" | ||
| 2 | HOMEPAGE = "https://github.com/taocpp/PEGTL" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dccf35ef30bf912bb07b01d469965293" | ||
| 5 | |||
| 6 | SRC_URI = " \ | ||
| 7 | git://github.com/taocpp/PEGTL.git;protocol=https;branch=3.x \ | ||
| 8 | file://run-ptest \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRCREV = "be527327653e94b02e711f7eff59285ad13e1db0" | ||
| 12 | |||
| 13 | inherit cmake ptest | ||
| 14 | |||
| 15 | |||
| 16 | do_install_ptest () { | ||
| 17 | install -d ${D}${PTEST_PATH}/src/test/pegtl/data | ||
| 18 | install -m 0755 ${B}/src/test/pegtl/pegtl-test-* ${D}${PTEST_PATH}/src/test/pegtl | ||
| 19 | install ${S}/src/test/pegtl/file_*.txt ${D}${PTEST_PATH}/src/test/pegtl | ||
| 20 | install ${S}/src/test/pegtl/data/*.json ${D}${PTEST_PATH}/src/test/pegtl/data | ||
| 21 | } | ||
| 22 | |||
| 23 | CXXFLAGS += " -Wno-error=type-limits" | ||
diff --git a/meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb b/meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb new file mode 100644 index 0000000000..00ab23f025 --- /dev/null +++ b/meta-oe/recipes-extended/pegtl/pegtl_4.0.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "header-only library for creating parsers according to Parsing Expression Grammar" | ||
| 2 | HOMEPAGE = "https://github.com/taocpp/PEGTL" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" | ||
| 5 | |||
| 6 | SRC_URI = " \ | ||
| 7 | git://github.com/taocpp/PEGTL.git;protocol=https;branch=main \ | ||
| 8 | file://run-ptest \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRCREV = "708de300144de0ec8bd58491facfc5f34d0d0559" | ||
| 12 | |||
| 13 | inherit cmake ptest | ||
| 14 | |||
| 15 | |||
| 16 | do_install_ptest () { | ||
| 17 | install -d ${D}${PTEST_PATH}/src/test/pegtl/data | ||
| 18 | install -m 0755 ${B}/src/test/pegtl-test-* ${D}${PTEST_PATH}/src/test/pegtl | ||
| 19 | install ${S}/src/test/file_*.txt ${D}${PTEST_PATH}/src/test/pegtl | ||
| 20 | install ${S}/src/test/data/*.json ${D}${PTEST_PATH}/src/test/pegtl/data | ||
| 21 | } | ||
