summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKevin Huck <khuck@cs.uoregon.edu>2019-07-05 19:08:43 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-07-05 19:08:43 -0700
commitf21073d231b1da00eedc99ec3c6702e01b6c9886 (patch)
treea4bb0eba27d900cd20c52697b3568a2adf562a94 /var
parente392bf0412f76b4e71f50b0152e0b9168d9967d9 (diff)
downloadspack-f21073d231b1da00eedc99ec3c6702e01b6c9886.tar.gz
spack-f21073d231b1da00eedc99ec3c6702e01b6c9886.tar.bz2
spack-f21073d231b1da00eedc99ec3c6702e01b6c9886.tar.xz
spack-f21073d231b1da00eedc99ec3c6702e01b6c9886.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index a932938887..0cccc3e619 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -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):