amr-wind: remove propagation of shared and openmp variant to dependencies. (#32182)

This commit is contained in:
Jon Rood 2022-08-17 06:47:19 -06:00 committed by GitHub
parent 8d8aa5c6cf
commit e76601006a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
variant("shared", default=True, description="Build shared libraries")
variant("tests", default=True, description="Activate regression tests")
depends_on("hypre~int64+shared@2.20.0:", when="+hypre")
depends_on("hypre~int64@2.20.0:", when="+hypre")
depends_on("hypre+mpi", when="+hypre+mpi")
for arch in CudaPackage.cuda_arch_values:
depends_on("hypre+cuda cuda_arch=%s" % arch, when="+cuda+hypre cuda_arch=%s" % arch)
@ -42,10 +42,6 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
# propagate variants to ascent
depends_on("ascent~mpi", when="+ascent~mpi")
depends_on("ascent+mpi", when="+ascent+mpi")
depends_on("ascent~shared", when="+ascent~shared")
depends_on("ascent+shared", when="+ascent+shared")
depends_on("ascent~openmp", when="+ascent~openmp")
depends_on("ascent+openmp", when="+ascent+openmp")
for arch in CudaPackage.cuda_arch_values:
depends_on("ascent+cuda cuda_arch=%s" % arch, when="+ascent+cuda cuda_arch=%s" % arch)