'APPLICATION.products.tbb' : {tag: '2019_U8', base: 'no', section : 'version_2019_U8_win_dbg' }
'APPLICATION.products.omniORB' : {tag: '4.2.3', base: 'no', section : 'version_4_2_3_win_dbg' }
'APPLICATION.products.psutil' : {tag: '5.7.2', base: 'no', section : 'version_5_7_2_win_dbg' }
+ 'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no', section : 'version_5_9_0_win_dbg' }
}
]
]
}
+version_5_9_0_win_dbg :
+{
+ compil_script : 'ParaView-5.9.0.bat'
+ archive_info : {archive_name : "ParaView-5.9.0-lata.tar.gz"}
+ depend : [
+ 'Python',
+ 'hdf5',
+ 'qt',
+ 'boost',
+ 'libxml2',
+ 'freetype',
+ 'cgns',
+ 'Pygments',
+ 'pthreads',
+ 'zlib'
+ ]
+ opt_depend : ['openmpi', 'ospray','tbb', 'openturns', 'rkCommon', 'matplotlib']
+ patches : ['paraview.0003-ParaViewClient.patch',
+ 'paraview.0004-ParaView_hdf5.patch',
+ 'paraview.0005-ParaView_find_cgns.patch',
+ 'paraview.0006-ParaView_find_libxml2.patch',
+ 'paraview.0007-ParaView_find_freetype.patch',
+ 'paraview.0009-ParaView_find_zlib.patch',
+ 'paraview.0010-ParaView_CATALYST_cmake.patch',
+ 'paraview.1001-ParaView_windows_catalyst_cmake.patch',
+ 'paraview.0008-ParaView_coincident_rendering.patch',
+ 'paraview.0011-ParaView_protobuf_crash.patch',
+ 'paraview.0018-spns-26351-autoconvert.patch',
+ 'paraview.0019-spns-26344-VTK-OpenMP.patch',
+ 'paraview.0015-Paraview_VTKM_ioss.patch',
+ 'paraview.0015-Paraview_VTKM_ioss.patch',
+ 'paraview-5.9.0-vs-debug.patch'
+ ]
+}
+
version_5_9_0_MPI :
{
compil_script : 'ParaView-5.9.0.sh'
REM Python settings
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_USE_PYTHON:BOOL=ON
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_WRAP_PYTHON:BOOL=ON
-set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_INCLUDE_DIR:STRING=%PYTHON_ROOT_DIR:\=/%/include
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_EXECUTABLE:FILEPATH=%PYTHON_ROOT_DIR:\=/%/python3.exe
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_INCLUDE_DIR:FILEPATH=%PYTHON_ROOT_DIR:\=/%/include
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_LIBRAY_DIRS=%PYTHON_ROOT_DIR:\=/%/libs
if %SAT_DEBUG% == 0 (
- set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_LIBRARY:STRING=%PYTHON_ROOT_DIR:\=/%/libs/python%PYTHON_VERSION:.=%.lib
+ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_LIBRARY:FILEPATH=%PYTHON_ROOT_DIR:\=/%/libs/python%PYTHON_VERSION:.=%.lib
) else (
- set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_LIBRARY:STRING=%PYTHON_ROOT_DIR:\=/%/libs/python%PYTHON_VERSION:.=%_d.lib
+ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPython3_LIBRARY:FILEPATH=%PYTHON_ROOT_DIR:\=/%/libs/python%PYTHON_VERSION:.=%_d.lib
)
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_PYTHON_FULL_THREADSAFE:BOOL=ON
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_NO_PYTHON_THREADS:BOOL=OFF
echo.
echo *********************************************************************
-echo *** msbuild %MAKE_OPTIONS% /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=%PLATFORM_TARGET% ALL_BUILD.vcxproj"
+echo *** msbuild %MAKE_OPTIONS% /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=%PLATFORM_TARGET% ALL_BUILD.vcxproj
echo *********************************************************************
echo.
msbuild %MAKE_OPTIONS% /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=%PLATFORM_TARGET% ALL_BUILD.vcxproj
if NOT %ERRORLEVEL% == 0 (
- echo ERROR on msbuild gmsh.vcxproj
+ echo ERROR on msbuild ALL_BUILD.vcxproj
exit 2
)
exit 3
)
+if %SAT_DEBUG% == 1 (
+ copy /Y /B %PRODUCT_INSTALL%\lib\zlibd.lib %PRODUCT_INSTALL%\lib\zlib.lib
+ copy /Y /B %PRODUCT_INSTALL%\bin\zlibd1.dll %PRODUCT_INSTALL%\bin\zlib1.dll
+)
+if
echo.
echo ########## END
--- /dev/null
+--- paraview-5.9.0_ref/VTK/Utilities/Python/vtkPython.h 2022-04-19 10:11:34.466378625 +0200
++++ paraview-5.9.0_new/VTK/Utilities/Python/vtkPython.h 2022-04-19 10:13:54.217617713 +0200
+@@ -76,8 +76,12 @@
+ #define HAVE_ROUND 1
+ #endif
+
+-#include <Python.h>
+-
++//#include <Python.h>
++#ifdef VTK_PYTHON_UNDEF_DEBUG
++ #define _DEBUG 1
++ #include <Python.h>
++ #undef _DEBUG
++#endif
+ #if defined(_MSC_VER) && _MSC_VER >= 1800
+ #undef HAVE_ROUND
+ #endif