Salome HOME
spns #26907: use distro.name to retrieve platform
[tools/sat_salome.git] / applications / SALOME-master-native.pyconf
index 5e023bdd633358d634d230f01fe84c6727e86ee8..8beefee1ec0e05d6891efe1440e51f89de4810e8 100644 (file)
@@ -15,13 +15,15 @@ APPLICATION :
     {
         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'
+            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 :
     {
@@ -29,32 +31,36 @@ APPLICATION :
         alabaster : 'native'
         Babel : 'native'
         boost : 'native'
-        CAS : 'CR740-SALOME-PATCH'
+        CAS : 'V7_5_3p1'
         certifi : 'native'
-        cgns : '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.3.0'
+        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.1.4'
+        gmsh : '4.8.4'
         graphviz : 'native'
         hdf5 : '1.10.3'
-        homard_bin : '11.12_hdf51103med410'
         idna : 'native'
         imagesize : 'native'
         # 'native' not exists (only available on Fedora platform)
-        ispc : '1.9.2'
+        ispc : '1.15.0'
         Jinja2 : 'native'
         kiwisolver : 'native'
         lapack : 'native'
@@ -62,24 +68,28 @@ APPLICATION :
         llvm : 'native'
         markupsafe : 'native'
         matplotlib : 'native'
-        medfile : {section: 'default_Autotools', tag: '4.1.0'}
+        medfile : {section: 'default_Autotools', tag: '4.1.1'}
         mesa : 'native'
-        MeshGems : '2.12-1'
+        MeshGems : '2.14-1'
         metis : 'native'
-        netgen : '5.3.1_with_CAS_7.2'
+        netgen : '6.2.2101'
         nlopt : '2.4.2'
         numpy : 'native'
-        omniORB : '4.2.2'
-        omniORBpy : '4.2.2'
+        omniORB : '4.2.3'
+        omniORBpy : '4.2.3'
         opencv : 'native'
-        ospray : '1.8.4'
+        openVKL : '0.11.0'
+        openturns: '1.17'
+        ospray : '2.4.0'
         packaging : 'native'
-        ParaView : '5.8.0'
-        petsc : '3.14.0'
+        pandas : 'native'
+        ParaView : '5.9.0'
+        petsc : {tag : '3.16.0', section: 'version_3_16_0'}
         Pillow : 'native'
         # 'native' not exists : freeCAD part but not delivered with it from package handler
         planegcs : '0.18-3cb6890'
-        pockets : 'native'
+        psutil : 'native'
+        PyFMI : '2.5'
         Pygments : 'native'
         pyparsing : 'native'
         PyQt : 'native'
@@ -89,6 +99,8 @@ APPLICATION :
         qt : 'native'
         qwt : 'native'
         requests : 'native'
+        rkCommon : '1.5.1'
+        root: '6.22.02'
         scipy : 'native'
         scotch : 'native'
         setuptools : 'native'
@@ -96,15 +108,18 @@ APPLICATION :
         six : 'native'
         snowballstemmer : 'native'
         Sphinx : 'native'
-        sphinxcontrib_napoleon : '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'
@@ -112,7 +127,7 @@ APPLICATION :
         'SHAPER'
         'SHAPERSTUDY'
         'RESTRICTED'
-        'LIBBATCH' : {tag :'V2_4_4'}
+        'LIBBATCH' : {tag : 'V2_4_5'}
         'KERNEL'
         'MEDCOUPLING'
         'GUI'
@@ -132,8 +147,8 @@ APPLICATION :
         'PARAVIS'
         'JOBMANAGER'
         'YACS'
-        'SOLVERLAB'
         'YACSGEN'
+        'SOLVERLAB'
         'DOCUMENTATION'
         'SAMPLES'
         'COMPONENT'
@@ -143,10 +158,13 @@ APPLICATION :
         'PYHELLO'
         'EFICAS'
         'EFICAS_TOOLS'
-       'PY2CPP' : {tag: 'v2.0'}
-       'ADAO'
-       'ADAO_INTERFACE'
-        'CEATESTBASE' : {tag: 'SalomeV9'}
+        'PY2CPP'
+        'ADAO'
+        'ADAO_INTERFACE'
+        'PARAVISADDONS'
+        'YDEFX'
+        'TESTBASE': {tag: 'master'}
+        'CEATESTBASE' : {tag: 'SSL'}
     }
     profile :
     {
@@ -164,20 +182,69 @@ APPLICATION :
     }
     properties :
     {
-        mesa_launcher_in_package : "yes"
+        mesa_launcher_in_package : "no"
         repo_dev : "yes"
         pip : 'yes'
         pip_install_dir : 'python'
-        single_install_dir : "yes"
+        single_install_dir : "no"
     }
 }
-#__overwrite__ :
-#[
-#   {
-#      # Overwrite dedicated to older distributions for a further native use
-#      # (Some system packages are missing for now on CentOS 8)
-#      __condition__ : "VARS.dist in ['FD32', 'DB10']"
-#      'APPLICATION.products.omniORB' : 'native'
-#      'APPLICATION.products.omniORBpy' : 'native'
-#   }
-#]
+__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', 'DB11']"
+        'APPLICATION.products.opencv' : '3.2.0'
+    }
+    {
+        #
+        __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
+       'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no', section: 'version_5_9_0_CO8_FD32_UB20_0_4'}
+    }
+    {
+        # 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']"
+        'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB10'}
+    }
+    {
+        __condition__ : "VARS.dist in ['DB11']"
+        'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB11'}
+    }
+    {
+        # 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' : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'}
+        'APPLICATION.products.cmake' : '3.12.1'
+    }
+    {
+        __condition__ : "VARS.dist in ['FD32']"
+        'APPLICATION.products.PyFMI'     : {tag:'2.5',  base:  'no', section: 'version_2_5_no_pip'}
+        'APPLICATION.products.openturns' : {tag:'1.17', base:  'no', section: 'version_1_17_FD32' }
+    }
+    {
+        # 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'
+        'APPLICATION.products.PyFMI'    : {tag: '2.5',    base: 'no', section: 'version_2_5_no_pip'  }
+        'APPLICATION.products.root'     : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'}
+    }
+    {
+        __condition__ : "VARS.dist in ['DB10', 'DB11', 'UB20.04']"
+        'APPLICATION.products.cminpack': 'native'
+        'APPLICATION.products.PyFMI'    : {tag:'2.5', base: 'no', section: 'version_2_5_no_pip'}
+    }
+    {
+        __condition__ : "VARS.dist in ['CO8']"
+        'APPLICATION.products.cminpack'    : '1.3.6'
+        'APPLICATION.products.PyFMI'       : {tag:'2.5',   base: 'no',  section: 'version_2_5_no_pip'  }
+        'APPLICATION.products.statsmodels' : {tag:'0.6.1', base : 'no', section: 'version_0_6_1_no_pip'}
+    }
+]