diff options
-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'): |