diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/tau/package.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py index dff5ce762c..331f88861c 100644 --- a/var/spack/repos/builtin/packages/tau/package.py +++ b/var/spack/repos/builtin/packages/tau/package.py @@ -20,10 +20,11 @@ class Tau(Package): maintainers = ['wspear', 'eugeneswalker', 'khuck', 'sameershende'] homepage = "http://www.cs.uoregon.edu/research/tau" - url = "https://www.cs.uoregon.edu/research/tau/tau_releases/tau-2.28.1.tar.gz" + url = "https://www.cs.uoregon.edu/research/tau/tau_releases/tau-2.30.tar.gz" git = "https://github.com/UO-OACISS/tau2" version('master', branch='master') + version('2.30', sha256='e581c33e21488d69839a00d97fd4451ea579f47249b2750d5c36bea773041eaf') version('2.29.1', sha256='4195a0a236bba510ab50a93e13c7f00d9472e8bc46c91de3f0696112a34e34e2') version('2.29', sha256='146be769a23c869a7935e8fa5ba79f40ba36b9057a96dda3be6730fc9ca86086') version('2.28.2', sha256='64e129a482056755012b91dae2fb4f728dbf3adbab53d49187eca952891c5457') @@ -67,6 +68,10 @@ class Tau(Package): 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('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') @@ -235,6 +240,18 @@ class Tau(Package): if '+cuda' in spec: options.append("-cuda=%s" % spec['cuda'].prefix) + if '+level_zero' in spec: + options.append("-level_zero") + + if '+opencl' in spec: + options.append("-opencl") + + if '+rocm' in spec: + options.append("-rocm") + + if '+rocprofiler' in spec: + options.append("-rocprofiler=%s" % spec['rocprofiler'].prefix) + if '+adios2' in spec: options.append("-adios=%s" % spec['adios2'].prefix) |