Dyninst: add elfutils versioning (#19648)

This commit is contained in:
Tim Haines 2021-04-27 07:15:37 -05:00 committed by GitHub
parent 42af3c16bf
commit cad06a15e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -37,7 +37,7 @@ bin/spack -h
bin/spack help -a bin/spack help -a
# Profile and print top 20 lines for a simple call to spack spec # Profile and print top 20 lines for a simple call to spack spec
spack -p --lines 20 spec mpileaks%gcc ^dyninst@10.2.1 ^elfutils@0.170 spack -p --lines 20 spec mpileaks%gcc ^dyninst@10.0.0 ^elfutils@0.170
#----------------------------------------------------------- #-----------------------------------------------------------
# Run unit tests with code coverage # Run unit tests with code coverage

View File

@ -47,7 +47,10 @@ class Dyninst(CMakePackage):
# Dyninst uses elfutils starting with 9.3.0, and used libelf # Dyninst uses elfutils starting with 9.3.0, and used libelf
# before that. # before that.
depends_on('elfutils', type='link', when='@9.3.0:') # NB: Parallel DWARF parsing in Dyninst 10.2.0 requires a thread-
# safe libdw
depends_on('elfutils@0.178:', type='link', when='@10.2.0:')
depends_on('elfutils', type='link', when='@9.3.0:10.1.99')
depends_on('libelf', type='link', when='@:9.2.99') depends_on('libelf', type='link', when='@:9.2.99')
# Dyninst uses libdw from elfutils starting with 10.0, and used # Dyninst uses libdw from elfutils starting with 10.0, and used