Salome HOME
015acd7bc27e04444d77648098b12871dd44ede7
[tools/sat_salome.git] / applications / SALOME-9.8.0-native.pyconf
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 APPLICATION :
5 {
6     name : 'SALOME-9.8.0-native'
7     workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name + '-' + $VARS.dist
8     tag : 'V9_8_BR'
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         certifi : 'native'
36         # Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
37         # Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
38         cgns : '4.1.1'
39         chardet : 'native'
40         click : 'native'
41         cmake : 'native'
42         cppunit : 'native'
43         cminpack: '1.3.6'
44         cycler : 'native'
45         Cython : 'native'
46         dateutil : 'native'
47         docutils : 'native'
48         doxygen : 'native'
49         eigen : 'native'
50         embree : '3.12.2'
51         FMILibrary : '2.0.3'
52         fftw : 'native'
53         freeimage : 'native'
54         freetype : 'native'
55         gl2ps : 'native'
56         # 'native' too difficult here : need python-pip package (gmsh-sdk) besides system packages
57         gmsh : '4.8.4'
58         graphviz : 'native'
59         hdf5 : '1.10.3'
60         idna : 'native'
61         imagesize : 'native'
62         # 'native' not exists (only available on Fedora platform)
63         ispc : '1.15.0'
64         Jinja2 : 'native'
65         kiwisolver : 'native'
66         lapack : 'native'
67         libxml2 : 'native'
68         llvm : 'native'
69         markupsafe : 'native'
70         matplotlib : 'native'
71         medfile : {section: 'default_Autotools', tag: '4.1.1rc1'}
72         mesa : 'native'
73         MeshGems : '2.13-1'
74         metis : 'native'
75         netgen : '6.2.2101'
76         nlopt : '2.4.2'
77         numpy : 'native'
78         omniORB : '4.2.3'
79         omniORBpy : '4.2.3'
80         opencv : 'native'
81         openVKL : '0.11.0'
82         openturns: '1.17'
83         ospray : '2.4.0'
84         packaging : 'native'
85         pandas : 'native'
86         ParaView : '5.9.0'
87         petsc : {tag : '3.16.0', section: 'version_3_16_0'}
88         Pillow : 'native'
89         # 'native' not exists : freeCAD part but not delivered with it from package handler
90         planegcs : '0.18-3cb6890'
91         psutil : 'native'
92         PyFMI : '2.5'
93         Pygments : 'native'
94         pyparsing : 'native'
95         PyQt : 'native'
96         pyreadline : 'native'
97         Python : 'native'
98         pytz : 'native'
99         qt : 'native'
100         qwt : 'native'
101         requests : 'native'
102         rkCommon : '1.5.1'
103         root: '6.22.02'
104         scipy : 'native'
105         scotch : 'native'
106         setuptools : 'native'
107         sip : 'native'
108         six : 'native'
109         snowballstemmer : 'native'
110         Sphinx : 'native'
111         sphinxcontrib_websupport : 'native'
112         sphinxintl: 'native'
113         sphinx_rtd_theme : 'native'
114         StaticMeshPlugin: '5.8.0'
115         statsmodels : 'native'
116         swig : 'native'
117         salome_system : 'native'
118         tbb : 'native'
119         tcl : 'native'
120         tk : 'native'
121         urllib3 : 'native'
122         URANIE : '4.5.0'
123
124         # SALOME MODULES :
125         'CONFIGURATION'
126         'SALOME'
127         'SHAPER'
128         'SHAPERSTUDY'
129         'RESTRICTED'
130         'LIBBATCH' : {tag :'V2_4_5'}
131         'KERNEL'
132         'MEDCOUPLING'
133         'GUI'
134         'GEOM'
135         'SMESH'
136         'NETGENPLUGIN'
137         'BLSURFPLUGIN'
138         'GHS3DPLUGIN'
139         'GHS3DPRLPLUGIN'
140         'HYBRIDPLUGIN'
141         'HexoticPLUGIN'
142         'GMSHPLUGIN'
143         'HEXABLOCK'
144         'HEXABLOCKPLUGIN'
145         'HOMARD'
146         'FIELDS'
147         'PARAVIS'
148         'JOBMANAGER'
149         'YACS'
150         'YACSGEN'
151         'SOLVERLAB' : {tag : 'master'}
152         'DOCUMENTATION'
153         'SAMPLES'
154         'COMPONENT'
155         'PYCALCULATOR'
156         'CALCULATOR'
157         'HELLO'
158         'PYHELLO'
159         'EFICAS' :  {tag : 'V9_8_0b1'}
160         'EFICAS_TOOLS' :  {tag : 'V9_8_0b1'}
161         'PY2CPP':  {tag: 'V9_8_0b1'}
162         'ADAO' : {tag: 'V9_8_0b1'}
163         'ADAO_INTERFACE': {tag: 'V9_8_0b1'}
164         'PARAVISADDONS' : {tag: 'V9_8_0b1'}
165         'TESTBASE': {tag: 'master'}
166         'CEATESTBASE' : {tag: 'SSL'}
167     }
168     profile :
169     {
170         launcher_name : "salome"
171     }
172     virtual_app:
173     {
174         name : "salome"
175         application_name : "APPLI"
176     }
177     test_base :
178     {
179         name : "SALOME"
180         tag : "SalomeV9"
181     }
182     properties :
183     {
184         mesa_launcher_in_package : "yes"
185         repo_dev : "yes"
186         pip : 'yes'
187         pip_install_dir : 'python'
188         single_install_dir : "no"
189     }
190 }
191 __overwrite__ :
192 [
193    {
194       # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
195       # deeper investigations need to be done in its sources. Use embedded openCV product where
196       # native one is 4.X.
197       __condition__ : "VARS.dist in ['FD32', 'UB20.04', 'FD34']"
198       'APPLICATION.products.opencv' : '3.2.0'
199    }
200    {
201       #
202       __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
203       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
204                                                    'paraview.0005-ParaView_find_cgns.patch',
205                                                    'paraview.0010-ParaView_CATALYST_cmake.patch',
206                                                    'paraview.0008-ParaView_coincident_rendering.patch',
207                                                    'paraview.0017-ParaView_protobuf_crash.patch',
208                                                    'paraview.0015-Paraview_VTKM_ioss.patch'
209                                                    'paraview.0018-spns-26351-autoconvert.patch',
210                                                    'paraview.0019-spns-26344-VTK-OpenMP.patch'
211                                                   ]
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       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
221                                                    'paraview.0005-ParaView_find_cgns.patch',
222                                                    'paraview-5.9_qt-minimum-version.patch',
223                                                    'paraview.0003-ParaViewClient_native.patch',
224                                                    'paraview.0010-ParaView_CATALYST_cmake.patch',
225                                                    'paraview.0008-ParaView_coincident_rendering.patch',
226                                                    'paraview.0017-ParaView_protobuf_crash.patch',
227                                                    'paraview.0015-Paraview_VTKM_ioss.patch'
228                                                    'paraview.0018-spns-26351-autoconvert.patch',
229                                                    'paraview.0019-spns-26344-VTK-OpenMP.patch'
230                                                   ]
231    }
232    {
233       # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
234       # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
235       __condition__ : "VARS.dist in ['CO8']"
236       'APPLICATION.products.sphinxintl' : '0.9.10'
237       'PRODUCTS.sphinxintl.default.properties.pip' : "no"
238       'APPLICATION.products.cmake' : '3.12.1'
239    }
240    {
241       # FD 34 qt5 package is qt5-qtbase-devel.
242       __condition__ : "VARS.dist in ['FD34']"
243       'APPLICATION.products.omniORB'  : '4.2.4'
244       'APPLICATION.products.omniORBpy': '4.2.4'
245       'PRODUCTS.root.version_6_22_02.patches' : ['root-6.22.02.patch', 'root-6.22.02-gcc-11.0.patch']
246       'PRODUCTS.qt.default.system_info.rpm' : []
247       'PRODUCTS.qt.default.system_info.rpm_dev' : ["qt5-qtbase-devel"]
248       'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
249       'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
250    }
251    {
252      __condition__ : "VARS.dist in ['FD32']"
253       'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
254       'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
255    }
256    {
257      __condition__ : "VARS.dist in ['DB10', 'UB20.04']"
258       'APPLICATION.products.cminpack': 'native'
259       'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
260       'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
261    }
262    {
263      __condition__ : "VARS.dist in ['CO8']"
264       'APPLICATION.products.statsmodels' :  '0.6.1'  # will fail otherwise -  0.8.0 does not match Cython.
265       'APPLICATION.products.cminpack': '1.3.6'
266       'PRODUCTS.PyFMI.version_2_5.properties.pip' : "no"
267       'PRODUCTS.PyFMI.version_2_5.compil_script' : "PyFMI-2.5.sh"
268       'PRODUCTS.statsmodels.version_0_6_1.properties.pip' : "no"
269       'PRODUCTS.statsmodels.version_0_6_1.compil_script' : "statsmodels-0.6.1.sh"
270    }
271 ]