From c23ffd89ffadd211a727bb0866159b81fd3f6c82 Mon Sep 17 00:00:00 2001 From: Tim Haines Date: Mon, 26 Apr 2021 15:53:53 -0500 Subject: Dyninst: Add dependencies for v11.0.0 (#23121) Also update the mpileaks unit test to avoid a conflict on CentOS 6 where Dyninst >=11.0.0 no longer builds due to a compiler version conflict. --- var/spack/repos/builtin/packages/dyninst/package.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py index 4698d27b97..215003ebf2 100644 --- a/var/spack/repos/builtin/packages/dyninst/package.py +++ b/var/spack/repos/builtin/packages/dyninst/package.py @@ -41,6 +41,8 @@ class Dyninst(CMakePackage): depends_on('boost@1.61.0:' + boost_libs, when='@10.1.0:') depends_on('boost@1.61.0:1.69.99' + boost_libs, when='@:10.0.99') + depends_on('boost@1.67.0:' + boost_libs, when='@11.0.0:') + depends_on('libiberty+pic') # Dyninst uses elfutils starting with 9.3.0, and used libelf @@ -76,6 +78,9 @@ class Dyninst(CMakePackage): conflicts('%xl') conflicts('%xl_r') + # Version 11.0 requires a C++11-compliant ABI + conflicts('%gcc@:5.99.99', when='@11.0.0:') + # Versions 9.3.x used cotire, but have no knob to turn it off. # Cotire has no real use for one-time builds and can break # parallel builds with both static and shared libs. -- cgit v1.2.3-70-g09d2