Fix issue when propagating cuda with other variant (#28377)
+cuda was hiding propagation of hdf5 and adios2 to paraview
This commit is contained in:
parent
b2f92a1307
commit
7e3677db6f
1 changed files with 5 additions and 8 deletions
|
@ -119,15 +119,12 @@ def exclude_variants(variants, exclude):
|
||||||
|
|
||||||
depends_on('py-cinemasci', when='+cinema')
|
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
|
# Want +shared when not using cuda
|
||||||
dav_sdk_depends_on(paraview_base_spec + '+shared ~cuda',
|
dav_sdk_depends_on('paraview ~shared +cuda', when='+paraview +cuda')
|
||||||
when='+paraview ~cuda',
|
dav_sdk_depends_on('paraview +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('visit', when='+visit')
|
dav_sdk_depends_on('visit', when='+visit')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue