From 79e79ba645b397c8b1a3431e3496a68f690356d1 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 1 Aug 2023 15:41:25 +0800 Subject: re2c: upgrade 3.0 -> 3.1 Changelog: ========== - Added capturing groups with leftmost greedy semantics: - Added non-capturing groups: - Regenerated Unicode include header to support a newer standard - Published TDFA paper: https://arxiv.org/abs/2206.01398, co-authored with Angelo Borsotti - Removed experimental algorithms that are superseded by TDFA(1) and generally less efficient: - Fixed parsing of raw UTF-8 characters in Flex compatibility mode - Added header file to the dependencies generated with "--depfile" option - Fixed stack overflow on large regular expressions by rewriting recursive functions in iterative form and limited stack to 256K on GithubActions CI - Added minimal http://bazel.build integration - Added configure option "--enable-parsers" that regenerates bison parsers - Added CMake option "RE2C_REBUILD_PARSERS" - Moved the entire codebase to C++11. - Added uniform error handling (return codes are now properly checked and returned to the caller). - Reorganized codegen subsystem in four well-defined phases (analyze, generate, fixup, render) and separated codegen from parsing phase. - Improved memory allocation by using slab allocators instead of global free lists. - Moved to pure API for bison parsers. - Unified code style. - Added "--verbose" flag to run_tests.py and suppressed verbose output by default. - Multiple improvements of continuous testing with GithubActions. (From OE-Core rev: 43e646a99f8be07fd410fd4af19a31fc98508a76) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-support/re2c/re2c_3.0.bb | 15 --------------- meta/recipes-support/re2c/re2c_3.1.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta/recipes-support/re2c/re2c_3.0.bb create mode 100644 meta/recipes-support/re2c/re2c_3.1.bb (limited to 'meta') diff --git a/meta/recipes-support/re2c/re2c_3.0.bb b/meta/recipes-support/re2c/re2c_3.0.bb deleted file mode 100644 index f3d5ff0789..0000000000 --- a/meta/recipes-support/re2c/re2c_3.0.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] = "b3babbbb1461e13fe22c630a40c43885efcfbbbb585830c6f4c0d791cf82ba0b" -GITHUB_BASE_URI = "https://github.com/skvadrik/re2c/releases" - -BBCLASSEXTEND = "native nativesdk" - -inherit autotools github-releases diff --git a/meta/recipes-support/re2c/re2c_3.1.bb b/meta/recipes-support/re2c/re2c_3.1.bb new file mode 100644 index 0000000000..a4b20422f6 --- /dev/null +++ b/meta/recipes-support/re2c/re2c_3.1.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] = "0ac299ad359e3f512b06a99397d025cfff81d3be34464ded0656f8a96676c029" +GITHUB_BASE_URI = "https://github.com/skvadrik/re2c/releases" + +BBCLASSEXTEND = "native nativesdk" + +inherit autotools github-releases -- cgit v1.2.3-54-g00ecf