+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+APPLICATION :
+{
+ name : 'SALOME-9.8.0-native'
+ workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name + '-' + $VARS.dist
+ tag : 'V9_8_BR'
+ dev : 'no'
+ verbose :'no'
+ debug : 'no'
+ base : 'no'
+ python3 : 'yes'
+ environ :
+ {
+ build :
+ {
+ CONFIGURATION_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "CONFIGURATION"
+ RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED"
+ SALOME_USE_64BIT_IDS : '1'
+ VTK_SMP_IMPLEMENTATION_TYPE : 'OpenMP' # OpenMP # choose among: sequential / OpenMP / TBB switches
+ }
+ launch : {PYTHONIOENCODING:"UTF_8"} # alternative is to encode every accentued string with .encode('utf-8')
+ SALOME_trace : "local" # local/file:.../with_logger
+ SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER" # specify the first modules to display in gui
+ SALOME_ACTOR_DELEGATE_TO_VTK : '1'
+ }
+ products :
+ {
+ # PREREQUISITES :
+ alabaster : 'native'
+ Babel : 'native'
+ boost : 'native'
+ CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ certifi : 'native'
+ # Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
+ # Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
+ cgns : '4.1.1'
+ chardet : 'native'
+ click : 'native'
+ cmake : 'native'
+ cppunit : 'native'
+ cminpack: '1.3.6'
+ cycler : 'native'
+ Cython : 'native'
+ dateutil : 'native'
+ docutils : 'native'
+ doxygen : 'native'
+ eigen : 'native'
+ embree : '3.12.2'
+ FMILibrary : '2.0.3'
+ fftw : 'native'
+ freeimage : 'native'
+ freetype : 'native'
+ gl2ps : 'native'
+ # 'native' too difficult here : need python-pip package (gmsh-sdk) besides system packages
+ gmsh : '4.8.4'
+ graphviz : 'native'
+ hdf5 : '1.10.3'
+ idna : 'native'
+ imagesize : 'native'
+ # 'native' not exists (only available on Fedora platform)
+ ispc : '1.15.0'
+ Jinja2 : 'native'
+ kiwisolver : 'native'
+ lapack : 'native'
+ libxml2 : 'native'
+ llvm : 'native'
+ markupsafe : 'native'
+ matplotlib : 'native'
+ medfile : {section: 'default_Autotools', tag: '4.1.1rc1'}
+ mesa : 'native'
+ MeshGems : '2.13-1'
+ metis : 'native'
+ netgen : '6.2.2101'
+ nlopt : '2.4.2'
+ numpy : 'native'
+ omniORB : '4.2.3'
+ omniORBpy : '4.2.3'
+ opencv : 'native'
+ openVKL : '0.11.0'
+ openturns: '1.17'
+ ospray : '2.4.0'
+ packaging : 'native'
+ pandas : 'native'
+ ParaView : '5.9.0'
+ petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ Pillow : 'native'
+ # 'native' not exists : freeCAD part but not delivered with it from package handler
+ planegcs : '0.18-3cb6890'
+ psutil : 'native'
+ PyFMI : '2.5'
+ Pygments : 'native'
+ pyparsing : 'native'
+ PyQt : 'native'
+ pyreadline : 'native'
+ Python : 'native'
+ pytz : 'native'
+ qt : 'native'
+ qwt : 'native'
+ requests : 'native'
+ rkCommon : '1.5.1'
+ root: '6.22.02'
+ scipy : 'native'
+ scotch : 'native'
+ setuptools : 'native'
+ sip : 'native'
+ six : 'native'
+ snowballstemmer : 'native'
+ Sphinx : 'native'
+ sphinxcontrib_websupport : 'native'
+ sphinxintl: 'native'
+ sphinx_rtd_theme : 'native'
+ StaticMeshPlugin: '5.8.0'
+ statsmodels : 'native'
+ swig : 'native'
+ salome_system : 'native'
+ tbb : 'native'
+ tcl : 'native'
+ tk : 'native'
+ urllib3 : 'native'
+ URANIE : '4.5.0'
+
+ # SALOME MODULES :
+ 'CONFIGURATION'
+ 'SALOME'
+ 'SHAPER'
+ 'SHAPERSTUDY'
+ 'RESTRICTED'
+ 'LIBBATCH' : {tag :'V2_4_5'}
+ 'KERNEL'
+ 'MEDCOUPLING'
+ 'GUI'
+ 'GEOM'
+ 'SMESH'
+ 'NETGENPLUGIN'
+ 'BLSURFPLUGIN'
+ 'GHS3DPLUGIN'
+ 'GHS3DPRLPLUGIN'
+ 'HYBRIDPLUGIN'
+ 'HexoticPLUGIN'
+ 'GMSHPLUGIN'
+ 'HEXABLOCK'
+ 'HEXABLOCKPLUGIN'
+ 'HOMARD'
+ 'FIELDS'
+ 'PARAVIS'
+ 'JOBMANAGER'
+ 'YACS'
+ 'YACSGEN'
+ 'SOLVERLAB'
+ 'DOCUMENTATION'
+ 'SAMPLES'
+ 'COMPONENT'
+ 'PYCALCULATOR'
+ 'CALCULATOR'
+ 'HELLO'
+ 'PYHELLO'
+ 'EFICAS'
+ 'EFICAS_TOOLS'
+ 'PY2CPP'
+ 'ADAO'
+ 'ADAO_INTERFACE'
+ 'PARAVISADDONS'
+ 'TESTBASE'
+ 'CEATESTBASE' : {tag: 'SalomeV9'}
+ }
+ profile :
+ {
+ launcher_name : "salome"
+ }
+ virtual_app:
+ {
+ name : "salome"
+ application_name : "APPLI"
+ }
+ test_base :
+ {
+ name : "SALOME"
+ tag : "SalomeV9"
+ }
+ properties :
+ {
+ mesa_launcher_in_package : "yes"
+ repo_dev : "yes"
+ pip : 'yes'
+ pip_install_dir : 'python'
+ single_install_dir : "no"
+ }
+}
+__overwrite__ :
+[
+ {
+ # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
+ # deeper investigations need to be done in its sources. Use embedded openCV product where
+ # native one is 4.X.
+ __condition__ : "VARS.dist in ['FD32', 'UB20.04', 'FD34']"
+ 'APPLICATION.products.opencv' : '3.2.0'
+ }
+ {
+ #
+ __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.0010-ParaView_CATALYST_cmake.patch',
+ 'paraview.0008-ParaView_coincident_rendering.patch',
+ 'paraview.0017-ParaView_protobuf_crash.patch',
+ 'paraview.0015-Paraview_VTKM_ioss.patch'
+ 'paraview.0018-spns-26351-autoconvert.patch',
+ 'paraview.0019-spns-26344-VTK-OpenMP.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).
+ # 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-5.9_qt-minimum-version.patch',
+ 'paraview.0003-ParaViewClient_native.patch',
+ 'paraview.0010-ParaView_CATALYST_cmake.patch',
+ 'paraview.0008-ParaView_coincident_rendering.patch',
+ 'paraview.0017-ParaView_protobuf_crash.patch',
+ 'paraview.0015-Paraview_VTKM_ioss.patch'
+ 'paraview.0018-spns-26351-autoconvert.patch',
+ 'paraview.0019-spns-26344-VTK-OpenMP.patch'
+ ]
+ }
+ {
+ # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
+ # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
+ __condition__ : "VARS.dist in ['CO8']"
+ 'APPLICATION.products.sphinxintl' : '0.9.10'
+ 'PRODUCTS.sphinxintl.default.properties.pip' : "no"
+ 'APPLICATION.products.cmake' : '3.12.1'
+ }
+ {
+ # FD 34 qt5 package is qt5-qtbase-devel.
+ __condition__ : "VARS.dist in ['FD34']"
+ 'APPLICATION.products.omniORB' : '4.2.4'
+ 'APPLICATION.products.omniORBpy': '4.2.4'
+ 'PRODUCTS.root.version_6_22_02.patches' : ['root-6.22.02.patch', 'root-6.22.02-gcc-11.0.patch']
+ 'PRODUCTS.qt.default.system_info.rpm' : []
+ 'PRODUCTS.qt.default.system_info.rpm_dev' : ["qt5-qtbase-devel"]
+ }
+ {
+ __condition__ : "VARS.dist in ['FD32']"
+ 'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
+ 'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
+ }
+ {
+ __condition__ : "VARS.dist in ['DB10', 'UB20.04']"
+ 'APPLICATION.products.cminpack': 'native'
+ 'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
+ 'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
+ }
+ {
+ __condition__ : "VARS.dist in ['CO8']"
+ 'APPLICATION.products.statsmodels' : '0.6.1' # will fail otherwise - 0.8.0 does not match Cython.
+ 'APPLICATION.products.cminpack': '1.3.6'
+ 'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
+ 'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
+ 'PRODUCTS.statsmodels.version_0_6_1.properties.pip' : "no"
+ 'PRODUCTS.statsmodels.version_0_6_1.compil_script' : "statsmodels-0.6.1.sh"
+ }
+]