summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMark W. Krentel <krentel@rice.edu>2022-06-08 15:42:32 -0500
committerGitHub <noreply@github.com>2022-06-08 13:42:32 -0700
commit8550b6cf49cf4c1e9a8ec587cfb43ce13935a160 (patch)
tree39df6fb198441d7db96bb13d8db95e57840993ba /var
parent0e5c4c9cbf48226eca32f831f385ab8db9e4b098 (diff)
downloadspack-8550b6cf49cf4c1e9a8ec587cfb43ce13935a160.tar.gz
spack-8550b6cf49cf4c1e9a8ec587cfb43ce13935a160.tar.bz2
spack-8550b6cf49cf4c1e9a8ec587cfb43ce13935a160.tar.xz
spack-8550b6cf49cf4c1e9a8ec587cfb43ce13935a160.zip
hpctoolkit: adjust dependencies for develop (#31050)
The develop branch now uses libiberty, but not binutils or libdwarf.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hpctoolkit/package.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py
index 95bd356d1f..c003e3d071 100644
--- a/var/spack/repos/builtin/packages/hpctoolkit/package.py
+++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py
@@ -83,7 +83,7 @@ class Hpctoolkit(AutotoolsPackage):
' +graph +regex +shared +multithreaded visibility=global'
)
- depends_on('binutils +libiberty', type='link', when='@2021.00:')
+ depends_on('binutils +libiberty', type='link', when='@2021:master')
depends_on('binutils +libiberty~nls', type='link', when='@2020.04:2020')
depends_on('binutils@:2.33.1 +libiberty~nls', type='link', when='@:2020.03')
depends_on('boost' + boost_libs)
@@ -94,7 +94,8 @@ class Hpctoolkit(AutotoolsPackage):
depends_on('elfutils+bzip2+xz~nls', type='link')
depends_on('gotcha@1.0.3:', when='@:2020.09')
depends_on('intel-tbb+shared')
- depends_on('libdwarf')
+ depends_on('libdwarf', when='@:master')
+ depends_on('libiberty+pic', when='@develop')
depends_on('libmonitor+hpctoolkit~dlopen', when='@2021.00:')
depends_on('libmonitor+hpctoolkit+dlopen', when='@:2020')
depends_on('libmonitor@2021.11.08:', when='@2022.01:')
@@ -154,13 +155,11 @@ class Hpctoolkit(AutotoolsPackage):
spec = self.spec
args = [
- '--with-binutils=%s' % spec['binutils'].prefix,
'--with-boost=%s' % spec['boost'].prefix,
'--with-bzip=%s' % spec['bzip2'].prefix,
'--with-dyninst=%s' % spec['dyninst'].prefix,
'--with-elfutils=%s' % spec['elfutils'].prefix,
'--with-tbb=%s' % spec['intel-tbb'].prefix,
- '--with-libdwarf=%s' % spec['libdwarf'].prefix,
'--with-libmonitor=%s' % spec['libmonitor'].prefix,
'--with-libunwind=%s' % spec['libunwind'].prefix,
'--with-xerces=%s' % spec['xerces-c'].prefix,
@@ -168,6 +167,10 @@ class Hpctoolkit(AutotoolsPackage):
'--with-zlib=%s' % spec['zlib'].prefix,
]
+ if spec.satisfies('@:master'):
+ args.append('--with-binutils=%s' % spec['binutils'].prefix)
+ args.append('--with-libdwarf=%s' % spec['libdwarf'].prefix)
+
if '+cuda' in spec:
args.append('--with-cuda=%s' % spec['cuda'].prefix)
@@ -180,6 +183,9 @@ class Hpctoolkit(AutotoolsPackage):
if spec.target.family == 'x86_64':
args.append('--with-xed=%s' % spec['intel-xed'].prefix)
+ if spec.satisfies('@develop'):
+ args.append('--with-libiberty=%s' % spec['libiberty'].prefix)
+
if spec.satisfies('@:2022.03'):
args.append('--with-mbedtls=%s' % spec['mbedtls'].prefix)