Salome HOME
rearrange sections and add try except for qt.py environment file since distro missing...
[tools/sat_salome.git] / applications / SALOME-master-native.pyconf
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 APPLICATION :
5 {
6     name : 'SALOME-master-native'
7     workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name + '-' + $VARS.dist
8     tag : 'master'
9     dev : 'no'
10     verbose :'no'
11     debug : 'no'
12     base : 'no'
13     python3 : 'yes'
14     environ :
15     {
16         build :
17         {
18             CONFIGURATION_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "CONFIGURATION"
19             RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED"
20             SALOME_USE_64BIT_IDS : '1'
21             VTK_SMP_IMPLEMENTATION_TYPE : OpenMP # OpenMP # choose among: sequential / OpenMP / TBB switches
22         }
23         launch : {PYTHONIOENCODING:"UTF_8"} # alternative is to encode every accentued string with .encode('utf-8')
24         SALOME_trace : "local" # local/file:.../with_logger
25         SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER"  # specify the first modules to display in gui
26         SALOME_ACTOR_DELEGATE_TO_VTK : '1'
27     }
28     products :
29     {
30         # PREREQUISITES :
31         alabaster : 'native'
32         Babel : 'native'
33         boost : 'native'
34         CAS : 'V7_5_3p1'
35         certifi : 'native'
36         # Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
37         # Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
38         cgns : '4.1.1'
39         chardet : 'native'
40         click : 'native'
41         cmake : 'native'
42         cppunit : 'native'
43         cminpack: '1.3.6'
44         cycler : 'native'
45         Cython : 'native'
46         dateutil : 'native'
47         docutils : 'native'
48         doxygen : 'native'
49         eigen : 'native'
50         embree : '3.12.2'
51         FMILibrary : '2.0.3'
52         fftw : 'native'
53         freeimage : 'native'
54         freetype : 'native'
55         gl2ps : 'native'
56         # 'native' too difficult here : need python-pip package (gmsh-sdk) besides system packages
57         gmsh : '4.8.4'
58         graphviz : 'native'
59         hdf5 : '1.10.3'
60         idna : 'native'
61         imagesize : 'native'
62         # 'native' not exists (only available on Fedora platform)
63         ispc : '1.15.0'
64         Jinja2 : 'native'
65         kiwisolver : 'native'
66         lapack : 'native'
67         libxml2 : 'native'
68         llvm : 'native'
69         markupsafe : 'native'
70         matplotlib : 'native'
71         medfile : {section: 'default_Autotools', tag: '4.1.1'}
72         mesa : 'native'
73         MeshGems : '2.14-1'
74         metis : 'native'
75         netgen : '6.2.2101'
76         nlopt : '2.4.2'
77         numpy : 'native'
78         omniORB : '4.2.3'
79         omniORBpy : '4.2.3'
80         opencv : 'native'
81         openmpi: 'native'
82         openVKL : '0.11.0'
83         openturns: '1.17'
84         ospray : '2.4.0'
85         packaging : 'native'
86         pandas : 'native'
87         ParaView : {tag:'5.9.0',  base: 'no',  section: 'version_5_9_0_MPI', hpc: 'yes'}
88         petsc : {tag : '3.16.0', section: 'version_3_16_0'}
89         Pillow : 'native'
90         # 'native' not exists : freeCAD part but not delivered with it from package handler
91         planegcs : '0.18-3cb6890'
92         psutil : 'native'
93         PyFMI : '2.5'
94         Pygments : 'native'
95         pyparsing : 'native'
96         PyQt : 'native'
97         pyreadline : 'native'
98         Python : 'native'
99         pytz : 'native'
100         qt : 'native'
101         qwt : 'native'
102         requests : 'native'
103         rkCommon : '1.5.1'
104         root: '6.22.02'
105         scipy : 'native'
106         scotch : 'native'
107         setuptools : 'native'
108         sip : 'native'
109         six : 'native'
110         snowballstemmer : 'native'
111         Sphinx : 'native'
112         sphinxcontrib_websupport : 'native'
113         sphinxintl: 'native'
114         sphinx_rtd_theme : 'native'
115         StaticMeshPlugin: '5.8.0'
116         statsmodels : 'native'
117         swig : 'native'
118         salome_system : 'native'
119         tbb : 'native'
120         tcl : 'native'
121         tk : 'native'
122         topo2volmesh: 'develop'
123         urllib3 : 'native'
124         URANIE : '4.5.0'
125
126         # SALOME MODULES :
127         'CONFIGURATION'
128         'SALOME'
129         'SHAPER'
130         'SHAPERSTUDY'
131         'RESTRICTED'
132         'LIBBATCH' : {tag : 'V2_4_5'}
133         'KERNEL'
134         'MEDCOUPLING' : {tag:'master', base: 'no',  section: 'default_MPI',       hpc: 'yes'}
135         'GUI'
136         'GEOM'
137         'SMESH' : {tag: 'master', base: 'no', section: 'version_topo2volmesh'}
138         'NETGENPLUGIN'
139         'BLSURFPLUGIN'
140         'GHS3DPLUGIN'
141         'GHS3DPRLPLUGIN'
142         'HYBRIDPLUGIN'
143         'HexoticPLUGIN'
144         'GMSHPLUGIN'
145         'HEXABLOCK'
146         'HEXABLOCKPLUGIN'
147         'HOMARD'
148         'FIELDS'
149         'PARAVIS': {tag:'master', base: 'no',  section: 'default_MPI',       hpc: 'yes'}
150         'JOBMANAGER'
151         'YACS'
152         'YACSGEN'
153         'SOLVERLAB'
154         'DOCUMENTATION'
155         'SAMPLES'
156         'COMPONENT'
157         'PYCALCULATOR'
158         'CALCULATOR'
159         'HELLO'
160         'PYHELLO'
161         'EFICAS'
162         'EFICAS_TOOLS'
163         'PY2CPP'
164         'ADAO'
165         'ADAO_INTERFACE'
166         'PARAVISADDONS'
167         'YDEFX'
168         'TESTBASE': {tag: 'master'}
169         'CEATESTBASE' : {tag: 'SSL'}
170     }
171     profile :
172     {
173         launcher_name : "salome"
174     }
175     virtual_app:
176     {
177         name : "salome"
178         application_name : "APPLI"
179     }
180     test_base :
181     {
182         name : "SALOME"
183         tag : "SalomeV9"
184     }
185     properties :
186     {
187         mesa_launcher_in_package : "no"
188         repo_dev : "yes"
189         pip : 'yes'
190         pip_install_dir : 'python'
191         single_install_dir : "no"
192     }
193 }
194 __overwrite__ :
195 [
196     {
197         # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
198         # deeper investigations need to be done in its sources. Use embedded openCV product where
199         # native one is 4.X.
200         __condition__ : "VARS.dist in ['FD32', 'UB20.04', 'FD34', 'DB11']"
201         'APPLICATION.products.opencv' : '3.2.0'
202     }
203     {
204         #
205         __condition__ : "VARS.dist in ['UB20.04']"
206         'APPLICATION.products.cminpack': 'native'
207         'APPLICATION.products.PyFMI'    : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'                }
208         'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no', section: 'version_5_9_0_UB20_0_4', hpc: 'yes'}
209     }
210     {
211         # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
212         # from Qt5_DIR, going back from it in filesystem (hardcoded).
213         # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
214         # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
215         # As this version is compliant too, let's force it as the new minimum needed version.
216         __condition__ : "VARS.dist in ['DB10']"
217         'APPLICATION.products.cminpack': 'native'
218         'APPLICATION.products.PyFMI'    : {tag:'2.5',    base: 'no',  section: 'version_2_5_no_pip'            }
219         'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB10', hpc: 'yes'}
220     }
221     {
222         __condition__ : "VARS.dist in ['DB11']"
223         'APPLICATION.products.cminpack': 'native'
224         'APPLICATION.products.PyFMI'    : {tag:'2.5',    base: 'no',  section: 'version_2_5_no_pip'            }
225         'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB11', hpc: 'yes'}
226     }
227     {
228         # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
229         # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
230         __condition__ : "VARS.dist in ['CO8']"
231         'APPLICATION.products.sphinxintl' : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'          }
232         'APPLICATION.products.cminpack'    : '1.3.6'
233         'APPLICATION.products.PyFMI'       : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'             }
234         'APPLICATION.products.statsmodels' : {tag: '0.6.1', base: 'no', section: 'version_0_6_1_no_pip'           }
235         'APPLICATION.products.ParaView'    : {tag: '5.9.0', base: 'no', section: 'version_5_9_0_CO8',   hpc: 'yes'}
236     }
237     {
238         __condition__ : "VARS.dist in ['FD32']"
239         'APPLICATION.products.PyFMI'     : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'}
240         'APPLICATION.products.openturns' : {tag: '1.17',  base: 'no', section: 'version_1_17_FD32' }
241         'APPLICATION.products.ParaView'  : {tag: '5.9.0', base: 'no', section: 'version_5_9_0_FD32'}
242     }
243     {
244         # FD 34 qt5 package is qt5-qtbase-devel.
245         __condition__ : "VARS.dist in ['FD34']"
246         'APPLICATION.products.omniORB'  : '4.2.4'
247         'APPLICATION.products.omniORBpy': '4.2.4'
248         'APPLICATION.products.PyFMI'    : {tag: '2.5',    base: 'no', section: 'version_2_5_no_pip'  }
249         'APPLICATION.products.root'     : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'}
250     }
251 ]