Salome HOME
bos #38104: prepare final configuration files for SALOME 9.12.0
[tools/sat_salome.git] / applications / SALOME-9.7.0-native.pyconf
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 APPLICATION :
5 {
6     name : 'SALOME-9.7.0-native'
7     workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name + '-' + $VARS.dist
8     tag : 'V9_7_0'
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 : {tag: 'V7_5_0p1', section: 'version_V7_5_0'}
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         cycler : 'native'
44         Cython : 'native'
45         dateutil : 'native'
46         docutils : 'native'
47         doxygen : 'native'
48         eigen : 'native'
49         embree : '3.12.2'
50         freeimage : 'native'
51         freetype : 'native'
52         gl2ps : 'native'
53         # 'native' too difficult here : need python-pip package (gmsh-sdk) besides system packages
54         gmsh : '4.1.4'
55         graphviz : 'native'
56         hdf5 : '1.10.3'
57         idna : 'native'
58         imagesize : 'native'
59         # 'native' not exists (only available on Fedora platform)
60         ispc : '1.15.0'
61         Jinja2 : 'native'
62         kiwisolver : 'native'
63         lapack : 'native'
64         libxml2 : 'native'
65         llvm : 'native'
66         markupsafe : 'native'
67         matplotlib : 'native'
68         medfile : {section: 'default_Autotools', tag: '4.1.0'}
69         mesa : 'native'
70         MeshGems : '2.12-1'
71         metis : 'native'
72         netgen : '5.3.1_with_CAS_7.2'
73         nlopt : '2.4.2'
74         numpy : 'native'
75         omniORB : '4.2.3'
76         omniORBpy : '4.2.3'
77         opencv : 'native'
78         openVKL : '0.11.0'
79         openturns: '1.16'
80         ospray : '2.4.0'
81         packaging : 'native'
82         ParaView : '5.9.0'
83         petsc : {tag : '3.15.0', section: 'version_3_15_0'}
84         Pillow : 'native'
85         # 'native' not exists : freeCAD part but not delivered with it from package handler
86         planegcs : '0.18-3cb6890'
87         psutil : 'native'
88         Pygments : 'native'
89         pyparsing : 'native'
90         PyQt : 'native'
91         pyreadline : 'native'
92         Python : 'native'
93         pytz : 'native'
94         qt : 'native'
95         qwt : 'native'
96         requests : 'native'
97         rkCommon : '1.5.1'
98         root: '6.22.02'
99         scipy : 'native'
100         scotch : 'native'
101         setuptools : 'native'
102         sip : 'native'
103         six : 'native'
104         snowballstemmer : 'native'
105         Sphinx : 'native'
106         sphinxcontrib_websupport : 'native'
107         sphinxintl: 'native'
108         sphinx_rtd_theme : 'native'
109         StaticMeshPlugin: '5.8.0'
110         swig : 'native'
111         salome_system : 'native'
112         tbb : 'native'
113         tcl : 'native'
114         tk : 'native'
115         urllib3 : 'native'
116         URANIE : '4.5.0'
117
118         # SALOME MODULES :
119         'CONFIGURATION'
120         'SALOME'
121         'SHAPER'
122         'SHAPERSTUDY'
123         'RESTRICTED'
124         'LIBBATCH' : {tag :'V2_4_5'}
125         'KERNEL'
126         'MEDCOUPLING'
127         'GUI'
128         'GEOM'
129         'SMESH'
130         'NETGENPLUGIN'
131         'BLSURFPLUGIN'
132         'GHS3DPLUGIN'
133         'GHS3DPRLPLUGIN'
134         'HYBRIDPLUGIN'
135         'HexoticPLUGIN'
136         'GMSHPLUGIN'
137         'HEXABLOCK'
138         'HEXABLOCKPLUGIN'
139         'HOMARD'
140         'FIELDS'
141         'PARAVIS'
142         'JOBMANAGER'
143         'YACS'
144         'YACSGEN'
145         'SOLVERLAB'
146         'DOCUMENTATION'
147         'SAMPLES'
148         'COMPONENT'
149         'PYCALCULATOR'
150         'CALCULATOR'
151         'HELLO'
152         'PYHELLO'
153         'EFICAS'
154         'EFICAS_TOOLS'
155         'PY2CPP'
156         'ADAO'
157         'ADAO_INTERFACE'
158         'PARAVISADDONS'
159         'CEATESTBASE' : {tag: 'SalomeV9'}
160     }
161     profile :
162     {
163         launcher_name : "salome"
164     }
165     virtual_app:
166     {
167         name : "salome"
168         application_name : "APPLI"
169     }
170     test_base :
171     {
172         name : "SALOME"
173         tag : "SalomeV9"
174     }
175     properties :
176     {
177         mesa_launcher_in_package : "yes"
178         repo_dev : "yes"
179         pip : 'yes'
180         pip_install_dir : 'python'
181         single_install_dir : "yes"
182     }
183 }
184 __overwrite__ :
185 [
186    {
187       # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
188       # deeper investigations need to be done in its sources. Use embedded openCV product where
189       # native one is 4.X.
190       __condition__ : "VARS.dist in ['FD32', 'UB20.04']"
191       'APPLICATION.products.opencv' : '3.2.0'
192    }
193    {
194       #
195       __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
196       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
197                                                    'paraview.0005-ParaView_find_cgns.patch',
198                                                    'paraview.0010-ParaView_CATALYST_cmake.patch',
199                                                    'paraview.0008-ParaView_coincident_rendering.patch',
200                                                    'paraview.0017-ParaView_protobuf_crash.patch',
201                                                    'paraview.0015-Paraview_VTKM_ioss.patch'
202                                                   ]
203    }
204    {
205       # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
206       # from Qt5_DIR, going back from it in filesystem (hardcoded).
207       # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
208       # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
209       # As this version is compliant too, let's force it as the new minimum needed version.
210       __condition__ : "VARS.dist in ['DB10']"
211       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
212                                                    'paraview.0005-ParaView_find_cgns.patch',
213                                                    'paraview-5.9_qt-minimum-version.patch',
214                                                    'paraview.0003-ParaViewClient_native.patch',
215                                                    'paraview.0010-ParaView_CATALYST_cmake.patch',
216                                                    'paraview.0008-ParaView_coincident_rendering.patch',
217                                                    'paraview.0017-ParaView_protobuf_crash.patch',
218                                                    'paraview.0015-Paraview_VTKM_ioss.patch'
219                                                   ]
220    }
221    {
222       # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
223       # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
224       __condition__ : "VARS.dist in ['CO8']"
225       'APPLICATION.products.sphinxintl' : '0.9.10'
226       'PRODUCTS.sphinxintl.default.properties.pip' : "no"
227       'APPLICATION.products.cmake' : '3.12.1'
228    }
229 ]