__overwrite__ :
[
{
- # ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version.
- # Unfortunately, DB10 native one is 5.11. Let's force it as the new minimum one, as it should
- # be compliant too (add it everywhere to avoid duplicate overwrites).
- 'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
- 'paraview-0012-LATA_64BITS_IDS.patch',
- 'paraview-5.9_qt-minimum-version.patch']
+ #
'PRODUCTS.PARAVISADDONS.default.patches' : ['paraview-5.9_PARAVISADDONS.patch']
}
{
'APPLICATION.products.opencv' : '3.2.0'
}
{
- # At least on DB10 (UB20 uses the same path...), ParaView fails to find xmlpatterns executable
- # ParaViewClient.cmake try to find it from Qt5_DIR, going back from it in filesystem (hardcoded).
+ #
+ __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
+ 'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
+ 'paraview.0005-ParaView_find_cgns.patch',
+ 'paraview-0012-LATA_64BITS_IDS.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch']
+ }
+ {
+ # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
+ # from Qt5_DIR, going back from it in filesystem (hardcoded).
# The standard patch is also needed to be able to build PARAVIS (same kind of issue).
- __condition__ : "VARS.dist in ['DB10', 'UB20.04']"
- 'PRODUCTS.ParaView.version_5_8_0.patches' : ['paraview.0003-ParaViewClient.patch',
- 'paraview.0003-ParaViewClient_native.patch']
+ # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
+ # As this version is compliant too, let's force it as the new minimum needed version.
+ __condition__ : "VARS.dist in ['DB10']"
+ 'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
+ 'paraview.0005-ParaView_find_cgns.patch',
+ 'paraview-0012-LATA_64BITS_IDS.patch',
+ 'paraview-5.9_qt-minimum-version.patch',
+ 'paraview.0003-ParaViewClient_native.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch']
}
{
# CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
__condition__ : "VARS.dist in ['CO8']"
'APPLICATION.products.sphinxintl' : '0.9.10'
'PRODUCTS.sphinxintl.default.properties.pip' : "no"
+ 'APPLICATION.products.cmake' : '3.12.1'
}
]
name : "CAS"
build_source : "cmake"
cmake_options : "-DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF -DUSE_FREETYPE=ON -D3RDPARTY_FREETYPE_DIR=$FREETYPEDIR -DUSE_GL2PS=OFF -DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=$FREEIMAGEDIR"
- get_source : "git"
+# get_source : "git"
+ get_source : "archive"
git_info:
{
repo : "http://git.dev.opencascade.org/repos/occt.git"
name : "CAS"
build_source : "script"
compil_script : "CAS_7.5.bat"
- get_source : "git"
+# get_source : "git"
+ get_source : "archive"
+ archive_info :
+ {
+ archive_name : "CAS-CR750-SALOME-PATCH.tar.gz"
+ }
git_info:
{
repo : "http://git.dev.opencascade.org/repos/occt.git"
'paraview.0005-ParaView_find_cgns.patch',
'paraview.0006-ParaView_find_libxml2.patch',
'paraview.0007-ParaView_find_freetype.patch',
- 'paraview-0012-LATA_64BITS_IDS.patch'
+ 'paraview-0012-LATA_64BITS_IDS.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.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.0007-ParaView_find_freetype.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch'
]
}
'paraview.0006-ParaView_find_libxml2.patch',
'paraview.0007-ParaView_find_freetype.patch',
'paraview.0008-ParaView_find_zlib.patch',
- 'paraview-0012-LATA_64BITS_IDS.patch'
+ 'paraview-0012-LATA_64BITS_IDS.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch'
]
}
'paraview.0005-ParaView_find_cgns.patch',
'paraview.0006-ParaView_find_libxml2.patch',
'paraview.0007-ParaView_find_freetype.patch',
- 'paraview.0008-ParaView_find_zlib.patch'
+ 'paraview.0008-ParaView_find_zlib.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch'
]
}
'paraview.0006-ParaView_find_libxml2.patch',
'paraview.0007-ParaView_find_freetype.patch',
'paraview.0012-VTKM_MPI.patch',
- 'paraview-0012-LATA_64BITS_IDS.patch'
+ 'paraview-0012-LATA_64BITS_IDS.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch'
]
}
'paraview.0005-ParaView_find_cgns.patch',
'paraview.0006-ParaView_find_libxml2.patch',
'paraview.0007-ParaView_find_freetype.patch',
- 'paraview.0012-VTKM_MPI.patch'
+ 'paraview.0012-VTKM_MPI.patch',
+ 'ParaView-5.9.0-CATALYST_cmake.patch'
]
}
### OpenGL settings
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DOpenGL_GL_PREFERENCE:STRING=LEGACY"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_USE_CATALYST:BOOL=OFF"
-#CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON"
+CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_USE_CATALYST:BOOL=ON"
+CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON"
### spns #20550 - Headless mode
if [ -n "$PARAVIEW_HEADLESS_MODE" ]
then
if [ "${TCLHOME}" != '/usr' ]
then
- TCK_TK_OPTIONS="--with-tcl=${TCL_LIB_DIR} --with-tk=${TCLHOME}/lib --with-tclinclude=${TCLHOME}/include"
+ TCL_TK_OPTIONS="--with-tcl=${TCLHOME}/lib --with-tk=${TCLHOME}/lib --with-tclinclude=${TCLHOME}/include"
fi
echo ./configure --prefix=${PRODUCT_INSTALL} \
--with-occ=${CASROOT} \