diff options
author | Kevin Huck <khuck@cs.uoregon.edu> | 2019-07-05 19:08:43 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-07-05 19:08:43 -0700 |
commit | f21073d231b1da00eedc99ec3c6702e01b6c9886 (patch) | |
tree | a4bb0eba27d900cd20c52697b3568a2adf562a94 /var | |
parent | e392bf0412f76b4e71f50b0152e0b9168d9967d9 (diff) | |
download | spack-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.py | 4 |
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): |