From 916c94fd65b5d57914a25466b47efd05092fc88b Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:39:36 -0600 Subject: ECP-SDK: Propagate cuda to ascent (#28878) --- var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py b/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py index c218e6f58c..43bc50cce4 100644 --- a/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py +++ b/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py @@ -121,11 +121,17 @@ class EcpDataVisSdk(BundlePackage, CudaPackage): dav_sdk_depends_on('sensei@develop +vtkio +python ~miniapps', when='+sensei', propagate=dict(propagate_to_sensei)) + dav_sdk_depends_on('ascent+mpi+fortran+openmp+python+shared+vtkh+dray', + when='+ascent', + propagate=['adios2'] + cuda_arch_variants) # Need to explicitly turn off conduit hdf5_compat in order to build # hdf5@1.12 which is required for SDK - dav_sdk_depends_on('ascent+shared+mpi+fortran+openmp+python+vtkh+dray', - when='+ascent') depends_on('ascent ^conduit ~hdf5_compat', when='+ascent +hdf5') + depends_on('ascent~cuda', when='+ascent~cuda') + depends_on('ascent+cuda', when='+ascent+cuda ^vtk-m@1.7:') + # Disable configuring with @develop. This should be removed after ascent + # releases 0.8 and ascent can build with conduit@0.8: and vtk-m@1.7: + conflicts('ascent@develop') depends_on('py-cinemasci', when='+cinema') -- cgit v1.2.3-70-g09d2