File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
repos/spack_repo/builtin/packages/paraview Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -656,10 +656,14 @@ def use_x11():
656656 ]
657657 )
658658
659+ if spec .satisfies ("@6:" ):
660+ "-DVTK_MODULE_USE_EXTERNAL_cgns=OFF" ,
661+ else :
662+ "-DVTK_MODULE_USE_EXTERNAL_ParaView_cgns=OFF" ,
663+
659664 cmake_args .extend (
660665 [
661666 "-DPARAVIEW_ENABLE_EXAMPLES:BOOL=%s" % variant_bool ("+examples" ),
662- "-DVTK_MODULE_USE_EXTERNAL_ParaView_cgns=OFF" ,
663667 "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=OFF" ,
664668 "-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=OFF" ,
665669 "-DVTK_MODULE_USE_EXTERNAL_VTK_utf8=OFF" ,
@@ -840,7 +844,7 @@ def use_x11():
840844 # Configure ROCM/Kokkos
841845 if spec .satisfies ("@5.11:5" ):
842846 cmake_args .append ("-DPARAVIEW_USE_HIP:BOOL=%s" % variant_bool ("+rocm" ))
843- elif spec .satsifies ("@6:" ):
847+ elif spec .satisfies ("@6:" ):
844848 cmake_args .append ("-DPARAVIEW_USE_KOKKOS:BOOL=%s" % variant_bool ("+rocm" ))
845849
846850 if "+rocm" in spec :
You can’t perform that action at this time.
0 commit comments