summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2022-02-07 14:15:25 -0800
committerGitHub <noreply@github.com>2022-02-07 15:15:25 -0700
commit8430e28a527aa1ddb1ee043299dda7570ab9abbb (patch)
tree6f9c9d4145d9dc9663abbca0ce04d16a5ec342dc /var
parentc791ddc742474226bed94fcfadd5965148957918 (diff)
downloadspack-8430e28a527aa1ddb1ee043299dda7570ab9abbb.tar.gz
spack-8430e28a527aa1ddb1ee043299dda7570ab9abbb.tar.bz2
spack-8430e28a527aa1ddb1ee043299dda7570ab9abbb.tar.xz
spack-8430e28a527aa1ddb1ee043299dda7570ab9abbb.zip
AMReX: +tiny_profile (#28785)
* AMReX: +tiny_profile The tiny profiler options in AMReX are by default off but needed by WarpX. Adds a new variant to control it. * Add Erik Palmer as Co-Maintainer ... so he receives pings on updates of the package for review.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/amrex/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py
index 8fd6d0d5cf..4c8a1c2ffe 100644
--- a/var/spack/repos/builtin/packages/amrex/package.py
+++ b/var/spack/repos/builtin/packages/amrex/package.py
@@ -19,7 +19,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
tags = ['ecp', 'e4s']
- maintainers = ['WeiqunZhang', 'asalmgren']
+ maintainers = ['WeiqunZhang', 'asalmgren', 'etpalmer63']
version('develop', branch='development')
version('22.02', sha256='5d8dd3fa3c416b04e70188e06b7e8fc2838d78b43a2cf33a285184c77f0c1e1e')
@@ -78,6 +78,8 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
description='Build particle classes')
variant('plotfile_tools', default=False,
description='Build plotfile_tools like fcompare')
+ variant('tiny_profile', default=False,
+ description='Enable tiny profiling')
variant('hdf5', default=False,
description='Enable HDF5-based I/O')
variant('hypre', default=False,
@@ -187,6 +189,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
self.define_from_variant('AMReX_AMRDATA', 'amrdata'),
self.define_from_variant('AMReX_PARTICLES', 'particles'),
self.define_from_variant('AMReX_PLOTFILE_TOOLS', 'plotfile_tools'),
+ self.define_from_variant('AMReX_TINY_PROFILE', 'tiny_profile'),
self.define_from_variant('AMReX_HDF5', 'hdf5'),
self.define_from_variant('AMReX_HYPRE', 'hypre'),
self.define_from_variant('AMReX_PETSC', 'petsc'),