diff options
author | Tim Haines <thaines.astro@gmail.com> | 2020-10-31 13:03:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 13:03:04 -0500 |
commit | 6b35324cf35cf655c2342c8ecd8a17fdb4ce86c4 (patch) | |
tree | c31a888fe1b1a76037c2fbac124f785af7ff9410 /var | |
parent | 2cf160689646b8ee681b88860adfef821d3bb280 (diff) | |
download | spack-6b35324cf35cf655c2342c8ecd8a17fdb4ce86c4.tar.gz spack-6b35324cf35cf655c2342c8ecd8a17fdb4ce86c4.tar.bz2 spack-6b35324cf35cf655c2342c8ecd8a17fdb4ce86c4.tar.xz spack-6b35324cf35cf655c2342c8ecd8a17fdb4ce86c4.zip |
elfutils: add support for version 0.181 (#19634)
This also includes handling of the new libdebuginfod flags.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/elfutils/package.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py index 8e1f520d7b..42d055b74e 100644 --- a/var/spack/repos/builtin/packages/elfutils/package.py +++ b/var/spack/repos/builtin/packages/elfutils/package.py @@ -21,6 +21,7 @@ class Elfutils(AutotoolsPackage, SourcewarePackage): list_url = "https://sourceware.org/elfutils/ftp" list_depth = 1 + version('0.181', sha256='29a6ad7421ec2acfee489bb4a699908281ead2cb63a20a027ce8804a165f0eb3') version('0.180', sha256='b827b6e35c59d188ba97d7cf148fa8dc6f5c68eb6c5981888dfdbb758c0b569d') version('0.179', sha256='25a545566cbacaa37ae6222e58f1c48ea4570f53ba991886e2f5ce96e22a23a2') version('0.178', sha256='31e7a00e96d4e9c4bda452e1f2cdac4daf8abd24f5e154dee232131899f3a0f2') @@ -44,6 +45,7 @@ class Elfutils(AutotoolsPackage, SourcewarePackage): description='Enable Native Language Support.') # libdebuginfod support + # NB: For 0.181 and newer, this enables _both_ the client and server variant('debuginfod', default=False, description='Enable libdebuginfod support.') @@ -106,8 +108,12 @@ class Elfutils(AutotoolsPackage, SourcewarePackage): if '+debuginfod' in spec: args.append('--enable-debuginfod') - elif spec.satisfies('@0.178:'): + if spec.satisfies('@0.181:'): + args.append('--enable-libdebuginfod') + else: args.append('--disable-debuginfod') + if spec.satisfies('@0.181:'): + args.append('--disable-libdebuginfod') return args |