]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Adapt ParaView VTKM patch (MPI) to new 5.9 version
authorQuentin Cozette <quentin.cozette@cea.fr>
Thu, 8 Apr 2021 09:01:33 +0000 (11:01 +0200)
committerQuentin Cozette <quentin.cozette@cea.fr>
Thu, 8 Apr 2021 09:01:33 +0000 (11:01 +0200)
products/ParaView.pyconf
products/patches/paraview-5.9-VTKM_MPI.patch [new file with mode: 0644]

index 93ec6a097cadbe68c4146d39c7371fb5ad9494d6..64e152564970d053bbd243be6d0819b8a3ce476d 100755 (executable)
@@ -123,7 +123,7 @@ version_5_9_0_MPI :
                'paraview.0005-ParaView_find_cgns.patch',
                'paraview.0006-ParaView_find_libxml2.patch',
                'paraview.0007-ParaView_find_freetype.patch',
-               'paraview.0012-VTKM_MPI.patch',
+               'paraview-5.9-VTKM_MPI.patch',
                'paraview-0012-LATA_64BITS_IDS.patch',
                'ParaView-5.9.0-CATALYST_cmake.patch'
               ]
@@ -138,7 +138,7 @@ version_5_9_0_MPI_int32 :
                'paraview.0005-ParaView_find_cgns.patch',
                'paraview.0006-ParaView_find_libxml2.patch',
                'paraview.0007-ParaView_find_freetype.patch',
-               'paraview.0012-VTKM_MPI.patch',
+               'paraview-5.9-VTKM_MPI.patch',
                'ParaView-5.9.0-CATALYST_cmake.patch'
               ]
 }
diff --git a/products/patches/paraview-5.9-VTKM_MPI.patch b/products/patches/paraview-5.9-VTKM_MPI.patch
new file mode 100644 (file)
index 0000000..e6d5f9d
--- /dev/null
@@ -0,0 +1,10 @@
+--- ParaView_ref/./VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmDeviceAdapters.cmake    2020-07-20 14:51:20.129903776 +0200
++++ ParaView_new/./VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmDeviceAdapters.cmake    2020-07-20 14:57:01.681171900 +0200
+@@ -82,7 +82,7 @@ endif()
+ if(VTKm_ENABLE_OPENMP AND NOT TARGET vtkm::openmp)
+-  find_package(OpenMP 4.0 REQUIRED COMPONENTS CXX QUIET)
++  find_package(OpenMP 3.1 REQUIRED COMPONENTS CXX QUIET)
+   add_library(vtkm::openmp INTERFACE IMPORTED GLOBAL)
+   if(OpenMP_CXX_FLAGS)