DAV: VTK-m needs to install examples for smoke test (#34611)

SDK deployment targets being able to validate and run VTK-m via spack
deployments, so examples should be installed.
This commit is contained in:
kwryankrattiger 2022-12-20 11:56:50 -06:00 committed by GitHub
parent ac570bb5c4
commit 58a7e11db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,6 +180,9 @@ class EcpDataVisSdk(BundlePackage, CudaPackage, ROCmPackage):
when="+vtkm",
propagate=["cuda", "rocm"] + cuda_arch_variants + amdgpu_target_variants,
)
# TODO: When Ascent is updated to use VTK-m >= 1.8 move examples to
# the main spec.
depends_on("vtk-m+examples", when="+vtkm ^vtk-m@1.8:")
depends_on("vtk-m+openmp", when="~rocm+vtkm")
depends_on("vtk-m~openmp", when="+rocm+vtkm")