Salome HOME
spns #29880 - compile ParaView 5.9 with Python 3.10
[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    }
33     products :
34     {
35         # PREREQUISITES :
36         alabaster : 'native'
37         Babel : 'native'
38         boost : 'native'
39         CAS : 'V7_5_3p2'
40         C3PO: 'v2.0'
41         certifi : 'native'
42         cgns : '4.2.0'
43         chardet : 'native'
44         click : 'native'
45         cmake : 'native'
46         cppunit : 'native'
47         cminpack: '1.3.6'
48         cycler : 'native'
49         Cython : 'native'
50         dateutil : 'native'
51         docutils : 'native'
52         doxygen : 'native'
53         eigen : 'native'
54         embree : '3.12.2'
55         FMILibrary : '2.0.3'
56         fftw : 'native'
57         freeimage : 'native'
58         freetype : 'native'
59         gl2ps : 'native'
60         gdal : 'native'
61         gmsh : '4.8.4'
62         graphviz : 'native'
63         hdf5 : '1.10.3'
64         idna : 'native'
65         imagesize : 'native'
66         ispc : '1.15.0'
67         Jinja2 : 'native'
68         kiwisolver : 'native'
69         lapack : 'native'
70         libxml2 : 'native'
71         llvm : 'native'
72         markupsafe : 'native'
73         matplotlib : 'native'
74         medfile : '4.1.1'
75         mesa : {tag : '19.0.8', base: 'no', section: 'version_19_0_8_x86_64'}
76         MeshGems : '2.14-4'
77         metis : 'native'
78         mpi4py: 'native'
79         netgen : '5.3.1_with_CAS_7.2'
80         # comment out line above and uncomment the line below to use Netgen 6.
81         #netgen : '6.2.2101'
82         netcdf : 'native'
83         nlopt : '2.4.2'
84         nose: 'native'
85         numpy : 'native'
86         numpydoc : 'native'
87         omniORB : '4.2.3'
88         omniORBpy : '4.2.3'
89         opencv : 'native'
90         openmpi: 'native'
91         openVKL : '0.11.0'
92         openturns: '1.18'
93         ospray : '2.4.0'
94         packaging : 'native'
95         pandas : 'native'
96         ParaView : {tag:'5.9.0',  base: 'no',  section: 'version_5_9_0_MPI', hpc: 'yes'}
97         PERSALYS: 'v12.0'
98         petsc : {tag : '3.16.0', section: 'version_3_16_0'}
99         Pillow : 'native'
100         planegcs : '0.18-3cb6890'
101         psutil : 'native'
102         PyFMI : '2.5'
103         Pygments : 'native'
104         pyparsing : 'native'
105         PyQt : 'native'
106         pyreadline : 'native'
107         Python : 'native'
108         pytz : 'native'
109         qt : 'native'
110         qwt : 'native'
111         requests : 'native'
112         rkCommon : '1.5.1'
113         root: '6.22.02'
114         scipy : 'native'
115         scotch : {tag: '6.1.2', section: 'version_6_1_2_MPI', hpc: 'yes', base: 'no'}
116         setuptools : 'native'
117         sip : 'native'
118         six : 'native'
119         snowballstemmer : 'native'
120         Sphinx : 'native'
121         sphinxcontrib_websupport : 'native'
122         sphinxintl: 'native'
123         sphinx_rtd_theme : 'native'
124         StaticMeshPlugin: '5.8.0'
125         statsmodels : 'native'
126         swig : 'native'
127         salome_system : 'native'
128         tbb : 'native'
129         tcl : 'native'
130         tk : 'native'
131         urllib3 : 'native'
132         zeromq: '4.3.1'
133         URANIE : '4.5.0'
134
135         # SALOME MODULES :
136         'CONFIGURATION'
137         'SALOME'
138         'SHAPER'
139         'SHAPERSTUDY'
140         'RESTRICTED'
141         'LIBBATCH' : {tag : 'V2_4_5'}
142         'KERNEL'
143         'MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
144         'GUI'
145         'GEOM'
146         'SMESH'
147         'NETGENPLUGIN'
148         'BLSURFPLUGIN'
149         'GHS3DPLUGIN'
150         'GHS3DPRLPLUGIN'
151         'HYBRIDPLUGIN'
152         'HexoticPLUGIN'
153         'GMSHPLUGIN'
154         'HEXABLOCK'
155         'HEXABLOCKPLUGIN'
156         'HOMARD'
157         'FIELDS'
158         'PARAVIS': {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
159         'JOBMANAGER'
160         'YACS'
161         'YACSGEN'
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         'OPENTURNS_SALOME'
176         'YDEFX'
177         'pmml'
178         'SOLVERLAB'
179         'TopIIVolMesh'
180         #'TESTBASE'
181         'CEATESTBASE' : 'SalomeV9'
182     }
183     profile :
184     {
185         launcher_name : "salome"
186     }
187     virtual_app:
188     {
189         name : "salome"
190         application_name : "APPLI"
191     }
192     test_base :
193     {
194         name : "SALOME"
195         tag : "SalomeV9"
196     }
197     properties :
198     {
199         mesa_launcher_in_package : "yes"
200         repo_dev : "yes"
201         pip : 'yes'
202         pip_install_dir : 'python'
203         single_install_dir : "no"
204     }
205 }
206 __overwrite__ :
207 [
208     {
209         #
210         __condition__ : "VARS.dist in ['UB20.04']"
211         'APPLICATION.products.opencv'  : '3.2.0'
212         'APPLICATION.products.cminpack': 'native'
213         'APPLICATION.products.PyFMI'   : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'           }
214         'APPLICATION.products.netcdf'  : '4.6.2'
215     }
216     {
217         #
218         __condition__ : "VARS.dist in ['UB22.04']"
219         'APPLICATION.products.opencv'  : '3.2.0'
220         'APPLICATION.products.cminpack': 'native'
221         'APPLICATION.products.PyFMI'   : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'           }
222         'APPLICATION.products.netcdf'  : '4.6.2'
223         'APPLICATION.rm_products'      : ['mesa']
224         'APPLICATION.products.omniORB'   : '4.2.5'
225         'APPLICATION.products.omniORBpy' : '4.2.5'
226         'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no',  section: 'version_5_9_0_UB22_04', hpc: 'yes'}
227     }
228     {
229         # DB10:
230         #   - Qt minimal version 5.12
231         #   - xmlpatterns executable
232         __condition__ : "VARS.dist in ['DB10']"
233         'APPLICATION.products.opencv': '3.2.0'
234         'APPLICATION.products.cminpack': 'native'
235         'APPLICATION.products.PyFMI'    : {tag:'2.5',    base: 'no',  section: 'version_2_5_no_pip'            }
236         'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no',  section: 'version_5_9_0_DB10', hpc: 'yes'}
237     }
238     {
239         __condition__ : "VARS.dist in ['DB11']"
240         'APPLICATION.products.opencv' : '3.2.0'
241         'APPLICATION.products.cminpack': 'native'
242         'APPLICATION.products.PyFMI'    : {tag:'2.5',    base: 'no',  section: 'version_2_5_no_pip'            }
243         'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no',  section: 'version_5_9_0_DB11', hpc: 'yes'}
244     }
245     {
246         # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
247         # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
248         __condition__ : "VARS.dist in ['CO8']"
249         'APPLICATION.products.sphinxintl'  : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'          }
250         'APPLICATION.products.cminpack'    : '1.3.6'
251         'APPLICATION.products.PyFMI'       : {tag: '2.5',    base: 'no', section: 'version_2_5_no_pip'             }
252         'APPLICATION.products.statsmodels' : {tag: '0.6.1',  base: 'no', section: 'version_0_6_1_no_pip'           }
253         'APPLICATION.products.gdal'        : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_CO8'              } # spns #29324
254     }
255     {
256         __condition__ : "VARS.dist in ['FD32']"
257         'APPLICATION.products.opencv'    : '3.2.0'
258         'APPLICATION.products.qwt'       : '6.1.4'
259         'APPLICATION.products.PyFMI'     : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'              }
260         'APPLICATION.products.openturns' : {tag: '1.18',  base: 'no', section: 'version_1_18_FD32'               }
261         'APPLICATION.products.Sphinx'    : {tag: '1.7.6', base: 'no', section: 'version_1_7_6_no_pip'            }
262         'APPLICATION.products.gdal'      : {tag:'2.4.0',  base: 'no', section: 'version_2_4_0_FD32'              } # spns #29324
263     }
264     {
265         __condition__ : "VARS.dist in ['FD34']"
266         'APPLICATION.products.opencv'    : '3.2.0'
267         'APPLICATION.products.qwt'       : '6.1.6'
268         'APPLICATION.products.omniORB'   : '4.2.4'
269         'APPLICATION.products.omniORBpy' : '4.2.4'
270         'APPLICATION.products.PyFMI'     : {tag: '2.5',    base: 'no', section: 'version_2_5_no_pip'             }
271         'APPLICATION.products.openturns' : {tag: '1.18',   base: 'no', section: 'version_1_18_FD34'              }
272         'APPLICATION.products.root'      : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'           }
273         'APPLICATION.products.gdal'      : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_FD34'             } # spns #29324
274     }
275 ]