Salome HOME
f343f6fe19690ad7684da2eae17b17b3fbbf19b3
[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         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.1'}
72         mesa : 'native'
73         MeshGems : '2.14-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         topo2volmesh: 'develop'
122         urllib3 : 'native'
123         URANIE : '4.5.0'
124
125         # SALOME MODULES :
126         'CONFIGURATION'
127         'SALOME'
128         'SHAPER'
129         'SHAPERSTUDY'
130         'RESTRICTED'
131         'LIBBATCH' : {tag : 'V2_4_5'}
132         'KERNEL'
133         'MEDCOUPLING'
134         'GUI'
135         'GEOM'
136         'SMESH': {tag: 'master', base: 'no', section: 'version_topo2volmesh'}
137         'NETGENPLUGIN'
138         'BLSURFPLUGIN'
139         'GHS3DPLUGIN'
140         'GHS3DPRLPLUGIN'
141         'HYBRIDPLUGIN'
142         'HexoticPLUGIN'
143         'GMSHPLUGIN'
144         'HEXABLOCK'
145         'HEXABLOCKPLUGIN'
146         'HOMARD'
147         'FIELDS'
148         'PARAVIS'
149         'JOBMANAGER'
150         'YACS'
151         'YACSGEN'
152         'SOLVERLAB'
153         'DOCUMENTATION'
154         'SAMPLES'
155         'COMPONENT'
156         'PYCALCULATOR'
157         'CALCULATOR'
158         'HELLO'
159         'PYHELLO'
160         'EFICAS'
161         'EFICAS_TOOLS'
162         'PY2CPP'
163         'ADAO'
164         'ADAO_INTERFACE'
165         'PARAVISADDONS'
166         'YDEFX'
167         'TESTBASE': {tag: 'master'}
168         'CEATESTBASE' : {tag: 'SSL'}
169     }
170     profile :
171     {
172         launcher_name : "salome"
173     }
174     virtual_app:
175     {
176         name : "salome"
177         application_name : "APPLI"
178     }
179     test_base :
180     {
181         name : "SALOME"
182         tag : "SalomeV9"
183     }
184     properties :
185     {
186         mesa_launcher_in_package : "no"
187         repo_dev : "yes"
188         pip : 'yes'
189         pip_install_dir : 'python'
190         single_install_dir : "no"
191     }
192 }
193 __overwrite__ :
194 [
195     {
196         # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
197         # deeper investigations need to be done in its sources. Use embedded openCV product where
198         # native one is 4.X.
199         __condition__ : "VARS.dist in ['FD32', 'UB20.04', 'FD34', 'DB11']"
200         'APPLICATION.products.opencv' : '3.2.0'
201     }
202     {
203         #
204         __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
205        'APPLICATION.products.ParaView' : {tag: '5.9.0', base: 'no', section: 'version_5_9_0_CO8_FD32_UB20_0_4'}
206     }
207     {
208         # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
209         # from Qt5_DIR, going back from it in filesystem (hardcoded).
210         # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
211         # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
212         # As this version is compliant too, let's force it as the new minimum needed version.
213         __condition__ : "VARS.dist in ['DB10']"
214         'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB10'}
215     }
216     {
217         __condition__ : "VARS.dist in ['DB11']"
218         'APPLICATION.products.ParaView' : {tag: '5.9.0', base : 'no', section: 'version_5_9_0_DB11'}
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' : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'}
225         'APPLICATION.products.cmake' : '3.12.1'
226     }
227     {
228         __condition__ : "VARS.dist in ['FD32']"
229         'APPLICATION.products.PyFMI'     : {tag:'2.5',  base:  'no', section: 'version_2_5_no_pip'}
230         'APPLICATION.products.openturns' : {tag:'1.17', base:  'no', section: 'version_1_17_FD32' }
231     }
232     {
233         # FD 34 qt5 package is qt5-qtbase-devel.
234         __condition__ : "VARS.dist in ['FD34']"
235         'APPLICATION.products.omniORB'  : '4.2.4'
236         'APPLICATION.products.omniORBpy': '4.2.4'
237         'APPLICATION.products.PyFMI'    : {tag: '2.5',    base: 'no', section: 'version_2_5_no_pip'  }
238         'APPLICATION.products.root'     : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'}
239     }
240     {
241         __condition__ : "VARS.dist in ['DB10', 'DB11', 'UB20.04']"
242         'APPLICATION.products.cminpack': 'native'
243         'APPLICATION.products.PyFMI'    : {tag:'2.5', base: 'no', section: 'version_2_5_no_pip'}
244     }
245     {
246         __condition__ : "VARS.dist in ['CO8']"
247         'APPLICATION.products.cminpack'    : '1.3.6'
248         'APPLICATION.products.PyFMI'       : {tag:'2.5',   base: 'no',  section: 'version_2_5_no_pip'  }
249         'APPLICATION.products.statsmodels' : {tag:'0.6.1', base : 'no', section: 'version_0_6_1_no_pip'}
250     }
251 ]