From 8d7e8bd2f71997a3ab79c583cd9427167aab02c9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 7 Jul 2025 23:38:08 -0700 Subject: re2c: upgrade to 4.3 It introduces new features, improvements, and bug fixes, including - a new code generation model using recursive functions - new block types - improved compile-time performance It also adds a new warning, -Wdeprecated-eof-rule, and improves the handling of the end-of-input rule (From OE-Core rev: 58d930580862af1f8db1e359f02a880695048025) Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-support/re2c/re2c_4.2.bb | 15 --------------- meta/recipes-support/re2c/re2c_4.3.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta/recipes-support/re2c/re2c_4.2.bb create mode 100644 meta/recipes-support/re2c/re2c_4.3.bb diff --git a/meta/recipes-support/re2c/re2c_4.2.bb b/meta/recipes-support/re2c/re2c_4.2.bb deleted file mode 100644 index 0696080603..0000000000 --- a/meta/recipes-support/re2c/re2c_4.2.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Tool for writing very fast and very flexible scanners" -DESCRIPTION = "A free and open-source lexer generator for C, C++ and Go. It compiles regular expressions to determinisitic finite automata and encodes the automata in the form of a program in the target language. Unlike any other such tool, re2c focuses on generating high efficient code for regular expression matching. As a result this allows a much broader range of use than any traditional lexer." -HOMEPAGE = "http://re2c.org/" -BUGTRACKER = "https://github.com/skvadrik/re2c/issues" -SECTION = "devel" -LICENSE = "PD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=64eca4d8a3b67f9dc7656094731a2c8d" - -SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "c9dc2b24f340d135a07a1ac63ff53f7f8f74997fed5a4e9132a64050dbc3da1f" -GITHUB_BASE_URI = "https://github.com/skvadrik/re2c/releases" - -BBCLASSEXTEND = "native nativesdk" - -inherit autotools github-releases diff --git a/meta/recipes-support/re2c/re2c_4.3.bb b/meta/recipes-support/re2c/re2c_4.3.bb new file mode 100644 index 0000000000..eafdf93078 --- /dev/null +++ b/meta/recipes-support/re2c/re2c_4.3.bb @@ -0,0 +1,15 @@ +SUMMARY = "Tool for writing very fast and very flexible scanners" +DESCRIPTION = "A free and open-source lexer generator for C, C++ and Go. It compiles regular expressions to determinisitic finite automata and encodes the automata in the form of a program in the target language. Unlike any other such tool, re2c focuses on generating high efficient code for regular expression matching. As a result this allows a much broader range of use than any traditional lexer." +HOMEPAGE = "http://re2c.org/" +BUGTRACKER = "https://github.com/skvadrik/re2c/issues" +SECTION = "devel" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=64eca4d8a3b67f9dc7656094731a2c8d" + +SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" +SRC_URI[sha256sum] = "51e88d6d6b6ab03eb7970276aca7e0db4f8e29c958b84b561d2fdcb8351c7150" +GITHUB_BASE_URI = "https://github.com/skvadrik/re2c/releases" + +BBCLASSEXTEND = "native nativesdk" + +inherit autotools github-releases -- cgit v1.2.3-54-g00ecf