Salome HOME
revert to cgns 4.1.1 and help ParaView to find gdal
[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 : 'native'
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 : 'native'
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         'OPENTURNS_SALOME': '9.8.0'
159         'JOBMANAGER'
160         'YACS'
161         'YACSGEN'
162         'SOLVERLAB'
163         'DOCUMENTATION'
164         'SAMPLES'
165         'COMPONENT'
166         'PYCALCULATOR'
167         'CALCULATOR'
168         'HELLO'
169         'PYHELLO'
170         'EFICAS'
171         'EFICAS_TOOLS'
172         'PY2CPP'
173         'ADAO'
174         'ADAO_INTERFACE'
175         'PARAVISADDONS'
176         'YDEFX'
177         'TESTBASE': {tag: 'master'}
178         'CEATESTBASE' : {tag: 'SalomeV9'}
179     }
180     profile :
181     {
182         launcher_name : "salome"
183     }
184     virtual_app:
185     {
186         name : "salome"
187         application_name : "APPLI"
188     }
189     test_base :
190     {
191         name : "SALOME"
192         tag : "SalomeV9"
193     }
194     properties :
195     {
196         mesa_launcher_in_package : "no"
197         repo_dev : "yes"
198         pip : 'yes'
199         pip_install_dir : 'python'
200         single_install_dir : "no"
201     }
202 }
203 __overwrite__ :
204 [
205     {
206         #
207         __condition__ : "VARS.dist in ['UB20.04']"
208         'APPLICATION.products.opencv'  : '3.2.0'
209         'APPLICATION.products.cminpack': 'native'
210         'APPLICATION.products.PyFMI'   : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'                }
211         'APPLICATION.products.netcdf'  : '4.6.2'
212     }
213     {
214         # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
215         # from Qt5_DIR, going back from it in filesystem (hardcoded).
216         # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
217         # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
218         # As this version is compliant too, let's force it as the new minimum needed version.
219         __condition__ : "VARS.dist in ['DB10']"
220         'APPLICATION.products.cminpack': 'native'
221         'APPLICATION.products.PyFMI'    : {tag:'2.5',    base: 'no',  section: 'version_2_5_no_pip'}
222         'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB10'}
223     }
224     {
225         __condition__ : "VARS.dist in ['DB11']"
226         'APPLICATION.products.opencv' : '3.2.0'
227         'APPLICATION.products.cminpack': 'native'
228         'APPLICATION.products.PyFMI'    : {tag:'2.5',    base: 'no',  section: 'version_2_5_no_pip'            }
229         'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB11'}
230     }
231     {
232         # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
233         # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
234         __condition__ : "VARS.dist in ['CO8']"
235         'APPLICATION.products.sphinxintl'  : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'         }
236         'APPLICATION.products.cminpack'    : '1.3.6'
237         'APPLICATION.products.PyFMI'       : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'             }
238         'APPLICATION.products.statsmodels' : {tag: '0.6.1', base: 'no', section: 'version_0_6_1_no_pip'           }
239     }
240     {
241         __condition__ : "VARS.dist in ['FD32']"
242         'APPLICATION.products.opencv'    : '3.2.0'
243         'APPLICATION.products.PyFMI'     : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'              }
244         'APPLICATION.products.openturns' : {tag: '1.17',  base: 'no', section: 'version_1_17_FD32'               }
245
246     }
247     {
248         # FD 34 qt5 package is qt5-qtbase-devel.
249         __condition__ : "VARS.dist in ['FD34']"
250         'APPLICATION.products.opencv'   : '3.2.0'
251         'APPLICATION.products.omniORB'  : '4.2.4'
252         'APPLICATION.products.omniORBpy': '4.2.4'
253         'APPLICATION.products.PyFMI'    : {tag: '2.5',    base: 'no', section: 'version_2_5_no_pip'  }
254         'APPLICATION.products.root'     : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'}
255     }
256 ]