summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAmjad Kotobi <amjadkotbi@gmail.com>2020-06-16 07:44:04 +0200
committerGitHub <noreply@github.com>2020-06-15 22:44:04 -0700
commit0111f2932f88ddf27fb1eb5584f73d21f5a36fba (patch)
treecfb7abf18b1a96374defa5fb10054ad1817331b0 /var
parentf54c9ae305aa1e3627ee9af1b75e763d284aa1ae (diff)
downloadspack-0111f2932f88ddf27fb1eb5584f73d21f5a36fba.tar.gz
spack-0111f2932f88ddf27fb1eb5584f73d21f5a36fba.tar.bz2
spack-0111f2932f88ddf27fb1eb5584f73d21f5a36fba.tar.xz
spack-0111f2932f88ddf27fb1eb5584f73d21f5a36fba.zip
pcre2: add version 10.35; JIT support (#17037)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pcre2/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pcre2/package.py b/var/spack/repos/builtin/packages/pcre2/package.py
index eaa5928ae2..2b19f9cb7b 100644
--- a/var/spack/repos/builtin/packages/pcre2/package.py
+++ b/var/spack/repos/builtin/packages/pcre2/package.py
@@ -14,11 +14,14 @@ class Pcre2(AutotoolsPackage):
homepage = "http://www.pcre.org"""
url = "https://ftp.pcre.org/pub/pcre/pcre2-10.31.tar.bz2"
+ version('10.35', sha256='9ccba8e02b0ce78046cdfb52e5c177f0f445e421059e43becca4359c669d4613')
version('10.31', sha256='e07d538704aa65e477b6a392b32ff9fc5edf75ab9a40ddfc876186c4ff4d68ac')
version('10.20', sha256='332e287101c9e9567d1ed55391b338b32f1f72c5b5ee7cc81ef2274a53ad487a')
variant('multibyte', default=True,
description='Enable support for 16 and 32 bit characters.')
+ variant('jit', default=False,
+ description='enable Just-In-Time compiling support')
def configure_args(self):
args = []
@@ -27,6 +30,9 @@ class Pcre2(AutotoolsPackage):
args.append('--enable-pcre2-16')
args.append('--enable-pcre2-32')
+ if '+jit' in self.spec:
+ args.append('--enable-jit')
+
return args
@property