mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
libpcre2: Default enable JIT support for aarch64
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20891 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
557c174a3c
commit
671898c7d2
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
config PCRE2_JIT_ENABLED
|
config PCRE2_JIT_ENABLED
|
||||||
bool
|
bool
|
||||||
depends on PACKAGE_libpcre2 && (aarch64 || aarch64_be || arm || i386 || i686 || x86_64 || mips || mipsel || mips64 || mips64el || powerpc || powerpc64 || powerpcle || sparc)
|
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"
|
prompt "Enable JIT compiler support"
|
||||||
help
|
help
|
||||||
Enable JIT (Just-In-Time) compiler support.
|
Enable JIT (Just-In-Time) compiler support.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue