Salome HOME
SPNS #38031: support Debian 12 bookworm platform
[tools/sat_salome.git] / applications / SALOME-9.12.0-native.pyconf
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 APPLICATION :
5 {
6     name : 'SALOME-9.12.0-native'
7     workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name + '-' + $VARS.dist
8     tag : 'V9_12_0'
9     dev : 'no'
10     verbose :'no'
11     debug : 'no'
12     base : 'no'
13     python3 : 'yes'
14     platform : ["FD32", "FD34", "FD36", "FD37", "FD38", "CO8", "CO9", "DB10", "DB11", "DB12", "UB20.04", "UB22.04"]
15     environ :
16     {
17         build :
18         {
19             CONFIGURATION_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "CONFIGURATION"
20             RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED"
21             SALOME_USE_64BIT_IDS : '1'
22             VTK_SMP_IMPLEMENTATION_TYPE : TBB # OpenMP # choose among: sequential / OpenMP / TBB switches
23             SALOME_GMSH_HEADERS_STD : '1'
24         }
25         launch :
26         {
27             PYTHONIOENCODING:"UTF_8",
28             SALOME_MODULES_ORDER:"SHAPER:SHAPERSTUDY:GEOM:SMESH",
29             ROOT_SALOME_INSTALL: '$PRODUCT_ROOT_DIR',
30             SALOME_ON_DEMAND: "HIDE"
31         }
32         SALOME_trace : "local" # local/file:.../with_logger
33         SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER"  # specify the first modules to display in gui
34    }
35     products :
36     {
37         # PREREQUISITES :
38         alabaster : 'native'
39         Babel : 'native'
40         boost : 'native'
41         CAS : {tag : 'V7_5_3p5', section: 'version_CR753_SALOME_PATCH', base: 'no'}
42         catalyst: '2.0'
43         C3PO: 'v2.0'
44         certifi : 'native'
45         cgns : '4.2.0'
46         chardet : 'native'
47         click : 'native'
48         cmake : '3.25.2'
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         gmsh : '4.10.3'
65         graphviz : 'native'
66         hdf5 : '1.10.3'
67         idna : 'native'
68         imagesize : 'native'
69         ispc : '1.15.0'
70         Jinja2 : 'native'
71         kiwisolver : 'native'
72         lapack : 'native'
73         libxml2 : 'native'
74         llvm : 'native'
75         markupsafe : 'native'
76         matplotlib : 'native'
77         medfile : '4.1.1'
78         mesa : {tag : '19.0.8-x86_64-'+$VARS.dist, base: 'no', section: 'version_bin'}
79         MeshGems : '2.15-1'
80         metis : 'native'
81         mpi4py: 'native'
82         netgen : '5.3.1_with_CAS_7.2'
83         # comment out line above and uncomment the line below to use Netgen 6.
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.5'
91         omniORBpy : '4.2.5'
92         opencv : 'native'
93         openmpi: 'native'
94         openVKL : '0.11.0'
95         openturns: '1.21'
96         ospray : '2.4.0'
97         packaging : 'native'
98         packagespy : '74152cd'
99         pandas : 'native'
100         ParaView : {tag:'5.11.0', base: 'no',  section: 'version_5_11_0_MPI', hpc: 'yes'}
101         PERSALYS: 'v14.1'
102         petsc : {tag : '3.16.0', section: 'version_3_16_0'}
103         Pillow : 'native'
104         planegcs : '0.18-3cb6890'
105         psutil : 'native'
106         PyFMI : '2.6'
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         statsmodels : 'native'
129         swig : 'native'
130         salome_system : 'native'
131         tbb : 'native'
132         tcl : 'native'
133         tk : 'native'
134         toml: 'native'
135         TTK : 'f8dafde2d7'
136         urllib3 : 'native'
137         zeromq: '4.3.1'
138         URANIE : '4.7.0'
139
140         # SALOME MODULES :
141         'CONFIGURATION'
142         'SALOME'
143         'SHAPER'
144         'SHAPERSTUDY'
145         'RESTRICTED'
146         'LIBBATCH' : 'V2_5_0'
147         'KERNEL'
148         'MEDCOUPLING' : {tag:'V9_12_0', base: 'no', section: 'default_MPI', hpc: 'yes'}
149         'GUI'
150         'GEOM'
151         'SMESH'
152         'NETGENPLUGIN'
153         'BLSURFPLUGIN'
154         'GHS3DPLUGIN'
155         'HYBRIDPLUGIN'
156         'HexoticPLUGIN'
157         'GMSHPLUGIN'
158         'HEXABLOCK'
159         'HEXABLOCKPLUGIN'
160         'HOMARD'
161         'FIELDS'
162         'PARAVIS': {tag:'V9_12_0', base: 'no', section: 'default_MPI', hpc: 'yes'}
163         'JOBMANAGER'
164         'YACS'
165         'YACSGEN'
166         'DOCUMENTATION'
167         'SAMPLES'
168         'COMPONENT'
169         'PYCALCULATOR'
170         'CALCULATOR'
171         'HELLO'
172         'PYHELLO'
173         'EFICAS'
174         'EFICAS_TOOLS'
175         'PY2CPP'
176         'ADAO'
177         'ADAO_INTERFACE'
178         'PARAVISADDONS'
179         'OPENTURNS_SALOME'
180         'YDEFX'
181         'pmml'
182         'SALOMEBOOTSTRAP'
183         'SOLVERLAB'
184         'SOLVERLABGUI'
185         'TopIIVolMesh'
186         #'TESTBASE'
187         'CEATESTBASE' : 'SalomeV9'
188     }
189     profile :
190     {
191         launcher_name : "salome"
192     }
193     test_base :
194     {
195         name : "SALOME"
196         tag : "SalomeV9"
197     }
198     properties :
199     {
200         mesa_launcher_in_package : "yes"
201         repo_dev : "yes"
202         pip : 'yes'
203         pip_install_dir : 'python'
204         single_install_dir : "no"
205     }
206 }
207 __overwrite__ :
208 [
209     {
210         #
211         __condition__ : "VARS.dist in ['UB20.04']"
212         'APPLICATION.products.opencv'           : '3.2.0'
213         'APPLICATION.products.cminpack'         : 'native'
214         'APPLICATION.products.netcdf'           : '4.6.2'
215         'APPLICATION.products.PyFMI'            : {tag: '2.6',   base: 'no', section: 'version_2_6_no_pip'      }
216         'APPLICATION.products.scipy'            : {tag: '1.5.2', base: 'no', section: 'version_1_5_2_no_pip'    } # scipy >= 1.4 - system one too old
217     }
218     {
219         #
220         __condition__ : "VARS.dist in ['UB22.04']"
221         'APPLICATION.rm_products' : ['TTK'] # causes crashes
222         'APPLICATION.products.cmake'       : 'native' # TTK requires cmake > 3.21
223         'APPLICATION.products.opencv'      : '3.2.0'
224         'APPLICATION.products.nlopt'       : '2.5.0'
225         'APPLICATION.products.cminpack'    : 'native'
226         'APPLICATION.products.netcdf'      : '4.6.2'
227         'APPLICATION.products.omniORB'     : '4.2.5'
228         'APPLICATION.products.omniORBpy'   : '4.2.5'
229         'APPLICATION.products.PyFMI'       : {tag: '2.6',       base: 'no', section: 'version_2_6_UB22_04'                    }
230         'APPLICATION.products.root'        : {tag: '6.22.02',   base: 'no', section: 'version_6_22_02_UB22_04'                }
231         'APPLICATION.products.medfile'     : {tag: '4.1.1',     base: 'no', section: 'version_4_1_1_UB22_04'                  }
232     }
233     {
234         # DB10:
235         #   - Qt minimal version 5.12
236         #   - xmlpatterns executable
237         __condition__ : "VARS.dist in ['DB10']"
238         'APPLICATION.products.opencv'   : '3.2.0'
239         'APPLICATION.products.cminpack' : 'native'
240         'APPLICATION.products.PyFMI'    : {tag:'2.6',     base: 'no',  section: 'version_2_6_no_pip'                 }
241         'APPLICATION.products.qt'       : '5.12.10'
242         'APPLICATION.products.qwt'      : '6.1.2'
243         'APPLICATION.products.PyQt'     : '5.15.3'
244         'APPLICATION.products.sip'      : '5.5.0'
245         'APPLICATION.products.ParaView' : {tag: '5.11.0', base: 'no',  section: 'version_5_11_0_MPI_DB10', hpc: 'yes'}
246         'APPLICATION.products.scipy'    : {tag: '1.5.2',  base: 'no', section: 'version_1_5_2_no_pip'                }  # scipy >= 1.4 - system one too old
247         'APPLICATION.products.swig'     : '4.0.2'
248         'APPLICATION.products.openmpi'  : '4.1.5'
249         'APPLICATION.products.MEDCOUPLING' : {tag:'V9_12_0', base: 'no', section: 'default_MPI', hpc: 'yes'}
250     }
251     {
252         __condition__ : "VARS.dist in ['DB11']"
253         'APPLICATION.products.opencv'           : '3.2.0'
254         'APPLICATION.products.cminpack'         : 'native'
255         'APPLICATION.products.PyFMI'            : {tag:'2.6',    base: 'no', section: 'version_2_6_no_pip'}
256         'APPLICATION.products.MEDCOUPLING' : {tag:'V9_12_0', base: 'no', section: 'default_MPI', hpc: 'yes'}
257     }
258     {
259         __condition__ : "VARS.dist in ['DB12']"
260         'APPLICATION.rm_products'               : ['root', 'URANIE']
261         'APPLICATION.products.cmake'            : 'native' # TTK requires cmake > 3.21
262         'APPLICATION.products.opencv'           : {tag: '3.2.0',     base: 'no', section: 'version_3_2_0_DB12'}
263         'APPLICATION.products.cminpack'         : 'native'
264         'APPLICATION.products.tbb'              : '2021.9.0'
265         'APPLICATION.products.PyFMI'            : {tag: '2.6',       base: 'no', section: 'version_2_6_DB12'          }
266         'APPLICATION.products.nlopt'            : '2.5.0'
267         'APPLICATION.products.openturns'        : {tag: '1.21',  base: 'no', section: 'version_1_21_DB12'        }
268         'APPLICATION.products.ParaView'         : {tag: '5.11.0',    base: 'no', section: 'version_5_11_0_MPI_DB12', hpc: 'yes' }
269     }
270     {
271         # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
272         # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
273         __condition__ : "VARS.dist in ['CO8']"
274         'APPLICATION.products.sphinxintl'       : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'  }
275         'APPLICATION.products.cminpack'         : '1.3.6'
276         'APPLICATION.products.PyFMI'            : {tag: '2.6',    base: 'no', section: 'version_2_6_no_pip'     }
277         'APPLICATION.products.statsmodels'      : {tag: '0.6.1',  base: 'no', section: 'version_0_6_1_no_pip'   }
278         'APPLICATION.products.gdal'             : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_CO8'      } # spns #29324
279         'APPLICATION.products.swig'             : '4.0.2'
280         'APPLICATION.products.openturns'        : {tag: '1.21',  base: 'no', section: 'version_1_21_RO8'        }
281     }
282     {
283          __condition__ : "VARS.dist in ['CO9']"
284          'APPLICATION.products.cminpack'         : '1.3.6'
285          'APPLICATION.products.qwt'              : '6.1.2'
286          'APPLICATION.products.PyQt'             : '5.15.3'
287          'APPLICATION.products.swig'             : '4.0.2'
288          'APPLICATION.products.opencv'           : '3.2.0'
289          'APPLICATION.products.openmpi'          : '4.1.5'
290          'APPLICATION.products.root'             : {tag: '6.22.02', base: 'no', section: 'version_6_22_02_CO9'               }
291          'APPLICATION.products.qt'               : {tag: '5.12.10', base: 'no', section: 'version_5_12_10_CO9'               }
292          'APPLICATION.products.sip'              : '5.5.0'
293          'APPLICATION.products.sphinxintl'       : {tag: '0.9.10',  base: 'no', section: 'version_0_9_10_no_pip'             }
294          'APPLICATION.products.PyFMI'            : {tag: '2.6',     base: 'no', section: 'version_2_6_no_pip'                }
295          'APPLICATION.products.numpydoc'         : {tag: '0.9.0',   base: 'no', section: 'version_0_9_0_no_pip'              }
296          'APPLICATION.products.pandas'           : {tag: '1.1.5',   base: 'no', section: 'version_1_1_5_no_pip'              }
297          'APPLICATION.products.statsmodels'      : {tag: '0.6.1',   base: 'no', section: 'version_0_6_1_no_pip'              }
298          'APPLICATION.products.nose'             : {tag: '1.3.7',   base: 'no', section: 'version_1_3_7_no_pip'              }
299          'APPLICATION.products.ParaView'         : {tag: '5.11.0',  base: 'no', section: 'version_5_11_0_MPI_CO9', hpc: 'yes'}
300          'APPLICATION.products.YDEFX'            : {tag: 'V9_12_0',base: 'no', section: 'version_V9_12_0_CO9'                }
301          'APPLICATION.products.YACS'             : {tag: 'V9_12_0',base: 'no',section: 'version_V9_12_0_CO9'                 }
302     }
303     {
304         __condition__ : "VARS.dist in ['FD32']"
305         'APPLICATION.products.opencv'           : '3.2.0'
306         'APPLICATION.products.qwt'              : '6.1.4'
307         'APPLICATION.products.PyFMI'            : {tag: '2.6',   base: 'no', section: 'version_2_6_no_pip'   }
308         'APPLICATION.products.Sphinx'           : {tag: '1.7.6', base: 'no', section: 'version_1_7_6_no_pip' }
309         'APPLICATION.products.gdal'             : {tag:'2.4.0',  base: 'no', section: 'version_2_4_0_FD32'   } # spns #29324
310     }
311     {
312         __condition__ : "VARS.dist in ['FD34']"
313         'APPLICATION.products.opencv'    : '3.2.0'
314         'APPLICATION.products.qwt'       : '6.1.6'
315         'APPLICATION.products.omniORB'   : '4.2.5'
316         'APPLICATION.products.omniORBpy' : '4.2.5'
317         'APPLICATION.products.PyFMI'            : {tag: '2.6',    base: 'no', section: 'version_2_6_no_pip'   }
318         'APPLICATION.products.root'             : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34' }
319         'APPLICATION.products.gdal'             : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_FD34'   } # spns #29324
320     }
321     {
322         __condition__ : "VARS.dist in ['FD36']"
323         'APPLICATION.products.opencv'           : {tag: '3.2.0',     base: 'no', section: 'version_3_2_0_FD36'                  }
324         'APPLICATION.products.omniORB'          : '4.2.5'
325         'APPLICATION.products.omniORBpy'        : '4.2.5'
326         'APPLICATION.products.qwt'              : '6.1.6'
327         'APPLICATION.products.nlopt'            : '2.6.0'
328         'APPLICATION.products.netcdf'           : '4.6.2'
329         'APPLICATION.products.numpy'            : {tag: '1.22.2',    base: 'no', section: 'version_1_22_2'                      }
330         'APPLICATION.products.PyFMI'            : {tag: '2.6',       base: 'no', section: 'version_2_6_no_pip'                  }
331         'APPLICATION.products.root'             : {tag: '6.22.02',   base: 'no', section: 'version_6_22_02_FD36'                }
332         'APPLICATION.products.medfile'          : {tag: '4.1.1',     base: 'no', section: 'version_4_1_1_FD36'                  }
333     }
334
335     {
336         __condition__ : "VARS.dist in ['FD37']"
337         'APPLICATION.rm_products' : ['root', 'URANIE']
338         'APPLICATION.products.cmake'            : 'native'
339         'APPLICATION.products.opencv'           : {tag: '3.2.0',     base: 'no', section: 'version_3_2_0_FD37'                  }
340         'APPLICATION.products.omniORB'          : '4.2.5'
341         'APPLICATION.products.omniORBpy'        : '4.2.5'
342         'APPLICATION.products.qwt'              : '6.1.6'
343         'APPLICATION.products.nlopt'            : '2.6.0'
344         'APPLICATION.products.netcdf'           : '4.6.2'
345         'APPLICATION.products.numpy'            : {tag: '1.22.2',    base: 'no', section: 'version_1_22_2'                      }
346         'APPLICATION.products.PyFMI'            : {tag: '2.6',       base: 'no', section: 'version_2_6_FD37'                    }
347         'APPLICATION.products.medfile'          : {tag: '4.1.1',     base: 'no', section: 'version_4_1_1_FD37'                  }
348         'APPLICATION.products.ParaView'         : {tag: '5.11.0',    base: 'no',  section: 'version_5_11_0_MPI_FD37', hpc: 'yes'}
349         'APPLICATION.products.CONFIGURATION'    : {tag:'V9_12_0',    base: 'no', section: 'default'                             }
350         'APPLICATION.products.SHAPER'           : {tag:'V9_12_0',    base: 'no', section: 'default',                  hpc: 'no' }
351     }
352
353     {
354         __condition__ : "VARS.dist in ['FD38']"
355         'APPLICATION.rm_products' : ['root', 'URANIE']
356         'APPLICATION.products.cmake'            : 'native'
357         'APPLICATION.products.opencv'           : {tag: '3.2.0',     base: 'no', section: 'version_3_2_0_FD38'                  }
358         'APPLICATION.products.omniORB'          : '4.2.5'
359         'APPLICATION.products.omniORBpy'        : '4.2.5'
360         'APPLICATION.products.qwt'              : '6.1.6'
361         'APPLICATION.products.nlopt'            : '2.6.0'
362         'APPLICATION.products.netcdf'           : '4.6.2'
363         'APPLICATION.products.swig'             : '4.0.2'
364         'APPLICATION.products.petsc'            : {tag: '3.16.0',    base: 'no', section: 'version_3_16_0_FD38'                 }
365         'APPLICATION.products.PyFMI'            : {tag: '2.6',       base: 'no', section: 'version_2_6_FD38'                    }
366         'APPLICATION.products.medfile'          : {tag: '4.1.1',     base: 'no', section: 'version_4_1_1_FD38'                  }
367         'APPLICATION.products.catalyst'         : {tag: '2.0',       base: 'no', section: 'version_2_0_FD38'                    }
368         'APPLICATION.products.gmsh'             : {tag: '4.10.3',    base: 'no', section: 'version_4_10_3_FD38'                 }
369         'APPLICATION.products.ParaView'         : {tag: '5.11.0',    base: 'no', section: 'version_5_11_0_MPI_FD38', hpc: 'yes' }
370         'APPLICATION.products.CONFIGURATION'    : {tag:'V9_12_0',    base: 'no', section: 'default'                             }
371         'APPLICATION.products.SHAPER'           : {tag:'V9_12_0',    base: 'no', section: 'default',                 hpc: 'no'  }
372     }
373 ]