[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1050819: pcre2: Please enable JIT on riscv64



Source: pcre2
Version: 10.42-3
Severity: wishlist
Tags: patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear maintainer,

PCRE2 gained support for JIT on riscv64 in version 10.41 and it is
recommended to enable it [1]. Could you please do that for the next
upload? I have tested the following patch without issue:

diff -u pcre2-10.42/debian/rules pcre2-10.42/debian/rules
--- pcre2-10.42/debian/rules
+++ pcre2-10.42/debian/rules
@@ -13,7 +13,7 @@
 
 deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout
 #enable JIT only on architectures that support it (see pcre2jit.3)
-ifneq ($(filter i386 amd64 armel armhf mips mipsel mips64el powerpc arm64 ppc64 ppc64el s390x, $(DEB_HOST_ARCH)),)
+ifneq ($(filter i386 amd64 armel armhf mips mipsel mips64el powerpc arm64 ppc64 ppc64el riscv64 s390x, $(DEB_HOST_ARCH)),)
 deb_maint_conf_args +=--enable-jit
 else
 deb_maint_conf_args +=--disable-jit

Thanks
Aurelien

[1] https://github.com/PCRE2Project/pcre2/issues/14


Reply to: