Salome HOME
49ee8e5b275df965672c9a6a8e5155427a29b0d5
[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: 'CR750-SALOME-PATCH', 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         tbb : 'native'
112         tcl : 'native'
113         tk : 'native'
114         urllib3 : 'native'
115         URANIE : '4.5.0'
116
117         # SALOME MODULES :
118         'CONFIGURATION'
119         'SALOME'
120         'SHAPER'
121         'SHAPERSTUDY'
122         'RESTRICTED'
123         'LIBBATCH' : {tag :'V2_4_5'}
124         'KERNEL'
125         'MEDCOUPLING'
126         'GUI'
127         'GEOM'
128         'SMESH'
129         'NETGENPLUGIN'
130         'BLSURFPLUGIN'
131         'GHS3DPLUGIN'
132         'GHS3DPRLPLUGIN'
133         'HYBRIDPLUGIN'
134         'HexoticPLUGIN'
135         'GMSHPLUGIN'
136         'HEXABLOCK'
137         'HEXABLOCKPLUGIN'
138         'HOMARD'
139         'FIELDS'
140         'PARAVIS'
141         'JOBMANAGER'
142         'YACS'
143         'YACSGEN'
144         'SOLVERLAB'
145         'DOCUMENTATION'
146         'SAMPLES'
147         'COMPONENT'
148         'PYCALCULATOR'
149         'CALCULATOR'
150         'HELLO'
151         'PYHELLO'
152         'EFICAS'
153         'EFICAS_TOOLS'
154         'PY2CPP'
155         'ADAO'
156         'ADAO_INTERFACE'
157         'PARAVISADDONS'
158         'CEATESTBASE' : {tag: 'SalomeV9'}
159     }
160     profile :
161     {
162         launcher_name : "salome"
163     }
164     virtual_app:
165     {
166         name : "salome"
167         application_name : "APPLI"
168     }
169     test_base :
170     {
171         name : "SALOME"
172         tag : "SalomeV9"
173     }
174     properties :
175     {
176         mesa_launcher_in_package : "yes"
177         repo_dev : "yes"
178         pip : 'yes'
179         pip_install_dir : 'python'
180         single_install_dir : "yes"
181     }
182 }
183 __overwrite__ :
184 [
185    {
186       # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
187       # deeper investigations need to be done in its sources. Use embedded openCV product where
188       # native one is 4.X.
189       __condition__ : "VARS.dist in ['FD32', 'UB20.04']"
190       'APPLICATION.products.opencv' : '3.2.0'
191    }
192    {
193       #
194       __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
195       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
196                                                    'paraview.0005-ParaView_find_cgns.patch',
197                                                    'paraview.0010-ParaView_CATALYST_cmake.patch',
198                                                    'paraview.0008-ParaView_coincident_rendering.patch',
199                                                    'paraview.0017-ParaView_protobuf_crash.patch',
200                                                    'paraview.0015-Paraview_VTKM_ioss.patch'
201                                                   ]
202    }
203    {
204       # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
205       # from Qt5_DIR, going back from it in filesystem (hardcoded).
206       # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
207       # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
208       # As this version is compliant too, let's force it as the new minimum needed version.
209       __condition__ : "VARS.dist in ['DB10']"
210       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
211                                                    'paraview.0005-ParaView_find_cgns.patch',
212                                                    'paraview-5.9_qt-minimum-version.patch',
213                                                    'paraview.0003-ParaViewClient_native.patch',
214                                                    'paraview.0010-ParaView_CATALYST_cmake.patch',
215                                                    'paraview.0008-ParaView_coincident_rendering.patch',
216                                                    'paraview.0017-ParaView_protobuf_crash.patch',
217                                                    'paraview.0015-Paraview_VTKM_ioss.patch'
218                                                   ]
219    }
220    {
221       # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
222       # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
223       __condition__ : "VARS.dist in ['CO8']"
224       'APPLICATION.products.sphinxintl' : '0.9.10'
225       'PRODUCTS.sphinxintl.default.properties.pip' : "no"
226       'APPLICATION.products.cmake' : '3.12.1'
227    }
228 ]