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
```
This commit is contained in:
Michael Kuhn 2023-03-09 19:12:37 +01:00 committed by GitHub
parent 1ef313b604
commit 846cd05c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,19 +90,20 @@ def url_for_version(self, version):
# 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