Fix issue when propagating cuda with other variant (#28377)

+cuda was hiding propagation of hdf5 and adios2 to paraview
This commit is contained in:
kwryankrattiger 2022-01-17 06:57:43 -06:00 committed by GitHub
parent b2f92a1307
commit 7e3677db6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,15 +119,12 @@ def exclude_variants(variants, exclude):
depends_on('py-cinemasci', when='+cinema')
paraview_base_spec = 'paraview +mpi +python3 +kits'
dav_sdk_depends_on('paraview +mpi +python3 +kits',
when='+paraview',
propagate=['hdf5', 'adios2'] + cuda_arch_variants)
# Want +shared when not using cuda
dav_sdk_depends_on(paraview_base_spec + '+shared ~cuda',
when='+paraview ~cuda',
propagate=['hdf5', 'adios2'])
# Can't have +shared when using cuda, propagate cuda_arch_variants
dav_sdk_depends_on(paraview_base_spec + '~shared +cuda',
when='+paraview +cuda',
propagate=cuda_arch_variants)
dav_sdk_depends_on('paraview ~shared +cuda', when='+paraview +cuda')
dav_sdk_depends_on('paraview +shared ~cuda', when='+paraview ~cuda')
dav_sdk_depends_on('visit', when='+visit')