Package: paraview / 5.4.1+dfsg4-3.1

use_system_mpi4py.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Description: use system mpi4py
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2015-03-24

Index: ParaView-v5.4.1/VTK/Parallel/MPI4Py/CMakeLists.txt
===================================================================
--- ParaView-v5.4.1.orig/VTK/Parallel/MPI4Py/CMakeLists.txt
+++ ParaView-v5.4.1/VTK/Parallel/MPI4Py/CMakeLists.txt
@@ -18,7 +18,7 @@ if(VTK_USE_SYSTEM_MPI4PY)
     mark_as_advanced(MPI4PY_INCLUDE_DIR)
   endif()
 else()
-  set(MPI4PY_INCLUDE_DIR "${vtkmpi4py_SOURCE_DIR}/vtkmpi4py/src/include")
+  set(MPI4PY_INCLUDE_DIR "/usr/include")
 endif()
 include_directories("${MPI4PY_INCLUDE_DIR}")
 
Index: ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/module.cmake
===================================================================
--- ParaView-v5.4.1.orig/ParaViewCore/ClientServerCore/Core/module.cmake
+++ ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/module.cmake
@@ -11,9 +11,6 @@ if (PARAVIEW_ENABLE_PYTHON)
 endif ()
 
 set (__compile_dependencies)
-if (PARAVIEW_ENABLE_PYTHON AND PARAVIEW_USE_MPI)
-  list(APPEND __compile_dependencies vtkmpi4py)
-endif()
 
 vtk_module(vtkPVClientServerCoreCore
   GROUPS
Index: ParaView-v5.4.1/VTK/Parallel/MPI4Py/module.cmake
===================================================================
--- ParaView-v5.4.1.orig/VTK/Parallel/MPI4Py/module.cmake
+++ ParaView-v5.4.1/VTK/Parallel/MPI4Py/module.cmake
@@ -5,7 +5,6 @@ if (VTK_WRAP_PYTHON)
     DEPENDS
       vtkParallelMPI
     COMPILE_DEPENDS
-      vtkmpi4py
       vtkPython
     OPTIONAL_PYTHON_LINK
     EXCLUDE_FROM_TCL_WRAPPING
@@ -18,4 +17,4 @@ if (VTK_WRAP_PYTHON)
     PRIVATE_DEPENDS
       vtkParallelMPI
     )
-endif ()
\ No newline at end of file
+endif ()