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