From 812a43621b85d694e0fa269f23c7e8deebdef386 Mon Sep 17 00:00:00 2001 From: wspear Date: Tue, 19 Dec 2023 03:20:47 -0800 Subject: tau : v2.33.1 and later requires otf2 v3 (#41691) --- var/spack/repos/builtin/packages/tau/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3-70-g09d2