From 69231c7d189239df9874b4a4273acf16d64a3dc1 Mon Sep 17 00:00:00 2001 From: "Mark W. Krentel" Date: Wed, 18 Mar 2020 22:19:25 -0500 Subject: [PATCH] hpctoolkit: restore binutils 2.34 for master (#15556) Hpctoolkit master was recently updated to test for and allow old binutils <= 2.33.1 and/or new binutils 2.34. Older hpctoolkit up to 2030.03.01 will forever require :2.33.1. Adjust the libunwind dependency for safety with the current concretizer. --- var/spack/repos/builtin/packages/hpctoolkit/package.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py index a8c489f87d..d64ce78fad 100644 --- a/var/spack/repos/builtin/packages/hpctoolkit/package.py +++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py @@ -60,15 +60,16 @@ class Hpctoolkit(AutotoolsPackage): ' +graph +regex +shared +multithreaded visibility=global' ) - depends_on('binutils@:2.33.1+libiberty~nls', type='link') + depends_on('binutils+libiberty~nls', type='link', when='@master') + depends_on('binutils@:2.33.1+libiberty~nls', type='link', when='@:2020.03.99') depends_on('boost' + boost_libs) depends_on('bzip2+shared', type='link') depends_on('dyninst@9.3.2:') depends_on('elfutils+bzip2+xz~nls', type='link') depends_on('intel-tbb+shared') depends_on('libdwarf') - depends_on('libmonitor+hpctoolkit') - depends_on('libmonitor+bgq', when='+bgq') + depends_on('libmonitor+hpctoolkit+bgq', when='+bgq') + depends_on('libmonitor+hpctoolkit~bgq', when='~bgq') depends_on('libunwind@1.4: +xz') depends_on('mbedtls+pic') depends_on('xerces-c transcoder=iconv')