From: Nabil Ghodbane Date: Wed, 9 Nov 2022 08:56:34 +0000 (+0100) Subject: Paraview: 5.11 build Paraview in debug mode - long standing issue of Paraview/Python... X-Git-Tag: V9_11_0~194 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1e2b3f422cdea36ad97ec1f82517490af47e07c;p=tools%2Fsat_salome.git Paraview: 5.11 build Paraview in debug mode - long standing issue of Paraview/Python in debug mode --- diff --git a/products/ParaView.pyconf b/products/ParaView.pyconf index 5b21cba..ee44539 100755 --- a/products/ParaView.pyconf +++ b/products/ParaView.pyconf @@ -103,7 +103,7 @@ version_5_11_0_win : version_5_11_0_win_dbg : { - compil_script : 'ParaView-5.9.0.bat' + compil_script : 'ParaView-5.11.0.bat' archive_info : {archive_name : "ParaView-5.11.0-RC2.tar.gz"} depend : [ 'Python', @@ -120,7 +120,8 @@ version_5_11_0_win_dbg : opt_depend : ['openmpi', 'ospray','tbb', 'openturns', 'rkCommon', 'matplotlib'] patches : ['paraview-5.11.0.p001-FindCGNS.patch', 'paraview-5.11.0.p002-FindMPI.patch', - 'paraview-5.11.0.p004-vtkUniformHyperTreeGrid.patch' + 'paraview-5.11.0.p004-vtkUniformHyperTreeGrid.patch', + 'paraview-5.11.0.p005-vtkPython-debug.patch' ] } diff --git a/products/patches/paraview-5.11.0.p005-vtkPython-debug.patch b/products/patches/paraview-5.11.0.p005-vtkPython-debug.patch new file mode 100644 index 0000000..c31c835 --- /dev/null +++ b/products/patches/paraview-5.11.0.p005-vtkPython-debug.patch @@ -0,0 +1,17 @@ +--- ParaView_ref/VTK/Utilities/Python/vtkPython.h 2022-10-25 18:16:21.000000000 +0200 ++++ ParaView_new/VTK/Utilities/Python/vtkPython.h 2022-11-09 09:52:47.289203673 +0100 +@@ -76,8 +76,12 @@ + #define HAVE_ROUND 1 + #endif + +-#include +- ++//#include ++#ifdef VTK_PYTHON_UNDEF_DEBUG ++ #define _DEBUG 1 ++ #include ++ #undef _DEBUG ++#endif + #if defined(_MSC_VER) && _MSC_VER >= 1800 + #undef HAVE_ROUND + #endif