diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2023-03-09 19:12:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 10:12:37 -0800 |
commit | 846cd05c7ea36a1e1d6c19d862ab97a03e9f3bdd (patch) | |
tree | 2fa668701cc5a66dd68effdda03ec479ed9bb795 | |
parent | 1ef313b604966d0e9dfca2954cbf3e6f18fc7c22 (diff) | |
download | spack-846cd05c7ea36a1e1d6c19d862ab97a03e9f3bdd.tar.gz spack-846cd05c7ea36a1e1d6c19d862ab97a03e9f3bdd.tar.bz2 spack-846cd05c7ea36a1e1d6c19d862ab97a03e9f3bdd.tar.xz spack-846cd05c7ea36a1e1d6c19d862ab97a03e9f3bdd.zip |
scorep: fix dependencies (#35966)
The overlapping dependency version ranges caused the concretizer to pick
version 7.1 even though version 8.0 is available:
```
==> Error: No version for 'cubelib' satisfies '@4.7.1' and '@4.8'
```
Moreover, Score-P 8.0 requires libbfd:
```
configure: error: bfd.h required
```
-rw-r--r-- | var/spack/repos/builtin/packages/scorep/package.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py index 76f30993b6..d78ced739a 100644 --- a/var/spack/repos/builtin/packages/scorep/package.py +++ b/var/spack/repos/builtin/packages/scorep/package.py @@ -90,19 +90,20 @@ class Scorep(AutotoolsPackage): # two components of cube -- cubew and cubelib. # SCOREP 8 + depends_on("binutils", type="link", when="@8:") depends_on("otf2@3:", when="@8:") depends_on("cubew@4.8:", when="@8:") depends_on("cubelib@4.8:", when="@8:") # fall through to Score-P 7's OPARI2, no new release # SCOREP 7 - depends_on("otf2@2.3:2.3.99", when="@7:8") - depends_on("cubew@4.6:4.7.99", when="@7:8") - depends_on("cubelib@4.6:4.7.99", when="@7:8") + depends_on("otf2@2.3:2.3.99", when="@7.0:7") + depends_on("cubew@4.6:4.7.99", when="@7.0:7") + depends_on("cubelib@4.6:4.7.99", when="@7.0:7") depends_on("opari2@2.0.6:", when="@7:") # SCOREP 6 - depends_on("otf2@2.2:", when="@6:") + depends_on("otf2@2.2:", when="@6.0:6") # SCOREP 4 and 5 - depends_on("otf2@2.1:", when="@4:") + depends_on("otf2@2.1:", when="@4:5") depends_on("cubew@4.4:4.5", when="@4:6") depends_on("cubelib@4.4:4.5", when="@4:6") # SCOREP 3 |