tau: add conflicts for libelf/libdwarf variants (#11944)

Declare a conflict for TAU versions older than 2.28.1, that they
can't depend on libelf or libdwarf.  The user can still install it
by specifying tau@2.24~libelf~libdwarf.
This commit is contained in:
Kevin Huck 2019-07-05 19:08:43 -07:00 committed by Todd Gamblin
parent e392bf0412
commit f21073d231

View File

@ -80,6 +80,10 @@ class Tau(Package):
depends_on('cuda', when='+cuda')
depends_on('gasnet', when='+gasnet')
# Elf only required from 2.28.1 on
conflicts('+libelf', when='@:2.28.0')
conflicts('+libdwarf', when='@:2.28.0')
filter_compiler_wrappers('tau_cc.sh', 'Makefile.tau', relative_root='bin')
def set_compiler_options(self):