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