diff options
author | Ross Burton <ross.burton@intel.com> | 2019-02-27 18:33:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-28 17:47:10 +0000 |
commit | ebee3ee60049596cef5e97f3ac970777f34a3c88 (patch) | |
tree | c5062189528087ad7189c19eb599d125ada71d04 /meta/recipes-support/libpcre/libpcre_8.43.bb | |
parent | 263470b20e709b8ea1a446af9f022699971c7fff (diff) | |
download | poky-ebee3ee60049596cef5e97f3ac970777f34a3c88.tar.gz |
libpcre: enable JIT
PCRE has an optional JIT for performance.
Add a PACKAGECONFIG for this, enabled by default.
Also add a patch so that auto-detection of JIT availablity, which is required to
enable the JIT by default, works with out-of-tree builds.
(From OE-Core rev: 9421abbbf8fd6ff7c67ac8186a17d1c26583be6f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libpcre/libpcre_8.43.bb')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.43.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.43.bb b/meta/recipes-support/libpcre/libpcre_8.43.bb index e28615a8ba..08314efb9e 100644 --- a/meta/recipes-support/libpcre/libpcre_8.43.bb +++ b/meta/recipes-support/libpcre/libpcre_8.43.bb | |||
@@ -9,6 +9,7 @@ LICENSE = "BSD" | |||
9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=91bee59d1b327eb1599b4c673e2fb3d1" | 9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=91bee59d1b327eb1599b4c673e2fb3d1" |
10 | SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre-${PV}.tar.bz2 \ | 10 | SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre-${PV}.tar.bz2 \ |
11 | file://fix-pcre-name-collision.patch \ | 11 | file://fix-pcre-name-collision.patch \ |
12 | file://out-of-tree.patch \ | ||
12 | file://run-ptest \ | 13 | file://run-ptest \ |
13 | file://Makefile \ | 14 | file://Makefile \ |
14 | " | 15 | " |
@@ -23,13 +24,14 @@ S = "${WORKDIR}/pcre-${PV}" | |||
23 | PROVIDES += "pcre" | 24 | PROVIDES += "pcre" |
24 | DEPENDS += "bzip2 zlib" | 25 | DEPENDS += "bzip2 zlib" |
25 | 26 | ||
26 | PACKAGECONFIG ??= "pcre8 unicode-properties" | 27 | PACKAGECONFIG ??= "pcre8 unicode-properties jit" |
27 | 28 | ||
28 | PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8" | 29 | PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8" |
29 | PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16" | 30 | PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16" |
30 | PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32" | 31 | PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32" |
31 | PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," | 32 | PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," |
32 | PACKAGECONFIG[unicode-properties] = "--enable-unicode-properties,--disable-unicode-properties" | 33 | PACKAGECONFIG[unicode-properties] = "--enable-unicode-properties,--disable-unicode-properties" |
34 | PACKAGECONFIG[jit] = "--enable-jit=auto,--disable-jit" | ||
33 | 35 | ||
34 | BINCONFIG = "${bindir}/pcre-config" | 36 | BINCONFIG = "${bindir}/pcre-config" |
35 | 37 | ||