Skip to content

Commit

Permalink
Add when's to some tau dependencies (spack#46212)
Browse files Browse the repository at this point in the history
* Add when's to some tau dependencies

* [@spackbot] updating style on behalf of AlexanderRichert-NOAA
  • Loading branch information
AlexanderRichert-NOAA authored Sep 5, 2024
1 parent 33621a9 commit c3a1d1f
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions var/spack/repos/builtin/packages/tau/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,39 @@ class Tau(Package):
variant("pdt", default=True, description="Use PDT for source code instrumentation")
variant("comm", default=False, description=" Generate profiles with MPI communicator info")
variant("python", default=False, description="Activates Python support")
variant("likwid", default=False, description="Activates LIKWID support")
variant("likwid", default=False, description="Activates LIKWID support", when="@2.27")
variant("ompt", default=False, description="Activates OMPT instrumentation")
variant("opari", default=False, description="Activates Opari2 instrumentation")
variant("shmem", default=False, description="Activates SHMEM support")
variant("gasnet", default=False, description="Activates GASNET support")
variant("cuda", default=False, description="Activates CUDA support")
variant("rocm", default=False, description="Activates ROCm support")
variant("level_zero", default=False, description="Activates Intel OneAPI Level Zero support")
variant("rocprofiler", default=False, description="Activates ROCm rocprofiler support")
variant("roctracer", default=False, description="Activates ROCm roctracer support")
variant("rocprofv2", default=False, description="Activates ROCm rocprofiler support")
variant("rocm", default=False, description="Activates ROCm support", when="@2.28:")
variant(
"level_zero",
default=False,
description="Activates Intel OneAPI Level Zero support",
when="@2.30:",
)
variant(
"rocprofiler",
default=False,
description="Activates ROCm rocprofiler support",
when="@2.29.1:",
)
variant(
"roctracer", default=False, description="Activates ROCm roctracer support", when="@2.28.1:"
)
variant(
"rocprofv2", default=False, description="Activates ROCm rocprofiler support", when="@2.34:"
)
variant("opencl", default=False, description="Activates OpenCL support")
variant("fortran", default=darwin_default, description="Activates Fortran support")
variant("io", default=True, description="Activates POSIX I/O support")
variant("adios2", default=False, description="Activates ADIOS2 output support")
variant(
"adios2", default=False, description="Activates ADIOS2 output support", when="@2.26.3:"
)
variant("sqlite", default=False, description="Activates SQLite3 output support")
variant("syscall", default=False, description="Activates syscall wrapper")
variant("syscall", default=False, description="Activates syscall wrapper", when="@2.33:")
variant(
"profileparam",
default=False,
Expand Down

0 comments on commit c3a1d1f

Please sign in to comment.