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