[openwrt/openwrt] libpcre2: Default enable JIT support for aarch64

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 23 04:55:42 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/671898c7d266ac01b67de74107b8328edcde1e22

commit 671898c7d266ac01b67de74107b8328edcde1e22
Author: Christian Lachner <gladiac at gmail.com>
AuthorDate: Sun Nov 23 10:48:47 2025 +0100

    libpcre2: Default enable JIT support for aarch64
    
    JIT support in pcre2 allows for extra performance for regex operations in
    applications that support it. As outlined in
    https://pcre.org/current/doc/html/pcre2jit.html#SEC2 64-bit ARM is
    supported.
    
    I tested this on an GL.Inet MT6000 which is an aarch64 device and to my
    knowledge everything works as expected. The primary application I tested
    this on was haproxy, which makes use pcre for several operations.
    
    If there are no known downsides or known breakages I suggest to
    default-enable this feature for aarch64.
    
    Signed-off-by: Christian Lachner <gladiac at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/20891
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 package/libs/pcre2/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/pcre2/Config.in b/package/libs/pcre2/Config.in
index 8777a4e84c..ce2cb79ce1 100644
--- a/package/libs/pcre2/Config.in
+++ b/package/libs/pcre2/Config.in
@@ -1,7 +1,7 @@
 config PCRE2_JIT_ENABLED
 	bool
 	depends on PACKAGE_libpcre2 && (aarch64 || aarch64_be || arm || i386 || i686 || x86_64 || mips || mipsel || mips64 || mips64el || powerpc || powerpc64 || powerpcle || sparc)
-	default y if (arm || i686 || x86_64)
+	default y if (aarch64 || arm || i686 || x86_64)
 	prompt "Enable JIT compiler support"
 	help
 		Enable JIT (Just-In-Time) compiler support.




More information about the lede-commits mailing list