summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index 56cf5f1d72..b030a65b89 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -107,7 +107,8 @@ class Tau(Package):
depends_on("zlib-api", type="link")
depends_on("pdt", when="+pdt") # Required for TAU instrumentation
depends_on("scorep", when="+scorep")
- depends_on("otf2@2.1:2.3", when="+otf2")
+ depends_on("otf2@2.1:2.3", when="@:2.33.0 +otf2")
+ depends_on("otf2@3:", when="@2.33.1: +otf2")
depends_on("likwid", when="+likwid")
depends_on("papi", when="+papi")
depends_on("libdwarf", when="+libdwarf")