From 8a754ad5020449d96e3b5975b5ef1dbd799a49ca Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Mon, 14 Mar 2022 19:10:21 -0600 Subject: [PATCH] amr-wind: Fix hypre dependency. (#29504) --- var/spack/repos/builtin/packages/amr-wind/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/amr-wind/package.py b/var/spack/repos/builtin/packages/amr-wind/package.py index 68deeb65f5..0acc1121ba 100644 --- a/var/spack/repos/builtin/packages/amr-wind/package.py +++ b/var/spack/repos/builtin/packages/amr-wind/package.py @@ -37,7 +37,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage): description='Activate regression tests') depends_on('hypre~int64+shared@2.20.0:', when='+hypre') - depends_on('hypre+mpi', when='+mpi') + depends_on('hypre+mpi', when='+hypre+mpi') for arch in CudaPackage.cuda_arch_values: depends_on('hypre+unified-memory+cuda cuda_arch=%s' % arch, when='+cuda+hypre cuda_arch=%s' % arch)