summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRobert Mijakovic <robert.mijakovic@gmail.com>2021-03-22 11:25:12 +0100
committerGitHub <noreply@github.com>2021-03-22 10:25:12 +0000
commitd838b8f51800cff44548cf9a3f7403af8cc0e720 (patch)
treee2ff42f899032e3b17fc4f3e25075bfc9f5cc1fe /var
parentc77267f0a15e72cee2db73eb9e75f9c60ed9024b (diff)
downloadspack-d838b8f51800cff44548cf9a3f7403af8cc0e720.tar.gz
spack-d838b8f51800cff44548cf9a3f7403af8cc0e720.tar.bz2
spack-d838b8f51800cff44548cf9a3f7403af8cc0e720.tar.xz
spack-d838b8f51800cff44548cf9a3f7403af8cc0e720.zip
pegtl: add v3.2.0 and a patch for <2.8.3 with gcc 10. (#22422)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pegtl/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pegtl/package.py b/var/spack/repos/builtin/packages/pegtl/package.py
index 148d972667..e686c79f67 100644
--- a/var/spack/repos/builtin/packages/pegtl/package.py
+++ b/var/spack/repos/builtin/packages/pegtl/package.py
@@ -19,6 +19,7 @@ class Pegtl(CMakePackage):
git = "https://github.com/taocpp/PEGTL.git"
version('master', branch='master')
+ version('3.2.0', sha256='91aa6529ef9e6b57368e7b5b1f04a3bd26a39419d30e35a3c5c66ef073926b56')
version('2.8.3', sha256='370afd0fbe6d73c448a33c10fbe4a7254f92077f5a217317d0a32a9231293015')
version('2.1.4', sha256='d990dccc07b4d9ba548326d11c5c5e34fa88b34fe113cb5377da03dda29f23f2')
version('2.0.0', sha256='5aae0505077e051cae4d855c38049cc6cf71103a6cc8d0ddef01a576e8a60cc0')
@@ -26,6 +27,11 @@ class Pegtl(CMakePackage):
# Ref: https://github.com/taocpp/PEGTL/blob/master/src/example/pegtl/json_classes.hpp
patch('change_to_virtual_destructor.patch', when='@:2.4')
+ # Ref: https://bugs.gentoo.org/733678
+ patch_url = 'https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch'
+ patch_checksum = 'fc40b0c7390f8c0473f2cb4821bda7a5e107f93ca9d2fafeff2065445bb39981'
+ patch(patch_url, sha256=patch_checksum, level=0, when='@2.1.4:2.8.3')
+
def cmake_args(self):
args = []