diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2021-02-22 10:54:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 10:54:00 -0800 |
commit | 04a8e5987293ee714c215067a0f9c40cb81c12b2 (patch) | |
tree | 16882e69afb8e80063a4e504a982a27c2a57e00f /var | |
parent | 671f0ff32b3ee2fdf7cae71864073e974b804c23 (diff) | |
download | spack-04a8e5987293ee714c215067a0f9c40cb81c12b2.tar.gz spack-04a8e5987293ee714c215067a0f9c40cb81c12b2.tar.bz2 spack-04a8e5987293ee714c215067a0f9c40cb81c12b2.tar.xz spack-04a8e5987293ee714c215067a0f9c40cb81c12b2.zip |
amrex: add +pic variant (#21849)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/amrex/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py index 1018909381..1841123e5e 100644 --- a/var/spack/repos/builtin/packages/amrex/package.py +++ b/var/spack/repos/builtin/packages/amrex/package.py @@ -68,6 +68,8 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage): description='Enable Hypre interfaces') variant('petsc', default=False, description='Enable PETSc interfaces') + variant('pic', default=False, + description='Enable PIC') # Build dependencies depends_on('mpi', when='+mpi') @@ -190,6 +192,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage): self.define_from_variant('AMReX_HDF5', 'hdf5'), self.define_from_variant('AMReX_HYPRE', 'hypre'), self.define_from_variant('AMReX_PETSC', 'petsc'), + self.define_from_variant('AMReX_PIC', 'pic'), ] if self.spec.satisfies('%fj'): |