Salome HOME
Use master branch for PARAVISADDONS on SALOME-9.7.0 applications
[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_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     }
27     products :
28     {
29         # PREREQUISITES :
30         alabaster : 'native'
31         Babel : 'native'
32         boost : 'native'
33         CAS : {tag: 'CR750-SALOME-PATCH', section: 'version_V7_5_0'}
34         certifi : 'native'
35         # Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
36         # Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
37         cgns : '4.1.1'
38         chardet : 'native'
39         click : 'native'
40         cmake : 'native'
41         cppunit : 'native'
42         cycler : 'native'
43         Cython : 'native'
44         dateutil : 'native'
45         docutils : 'native'
46         doxygen : 'native'
47         eigen : 'native'
48         embree : '3.12.2'
49         freeimage : 'native'
50         freetype : 'native'
51         gl2ps : 'native'
52         # 'native' too difficult here : need python-pip package (gmsh-sdk) besides system packages
53         gmsh : '4.1.4'
54         graphviz : 'native'
55         hdf5 : '1.10.3'
56         idna : 'native'
57         imagesize : 'native'
58         # 'native' not exists (only available on Fedora platform)
59         ispc : '1.15.0'
60         Jinja2 : 'native'
61         kiwisolver : 'native'
62         lapack : 'native'
63         libxml2 : 'native'
64         llvm : 'native'
65         markupsafe : 'native'
66         matplotlib : 'native'
67         medfile : {section: 'default_Autotools', tag: '4.1.0'}
68         mesa : 'native'
69         MeshGems : '2.12-1'
70         metis : 'native'
71         netgen : '5.3.1_with_CAS_7.2'
72         nlopt : '2.4.2'
73         numpy : 'native'
74         omniORB : '4.2.3'
75         omniORBpy : '4.2.3'
76         opencv : 'native'
77         openVKL : '0.11.0'
78         openturns: '1.16'
79         ospray : '2.4.0'
80         packaging : 'native'
81         ParaView : '5.9.0'
82         petsc : {tag : '3.15.0', section: 'version_3_15_0'}
83         Pillow : 'native'
84         # 'native' not exists : freeCAD part but not delivered with it from package handler
85         planegcs : '0.18-3cb6890'
86         psutil : 'native'
87         Pygments : 'native'
88         pyparsing : 'native'
89         PyQt : 'native'
90         pyreadline : 'native'
91         Python : 'native'
92         pytz : 'native'
93         qt : 'native'
94         qwt : 'native'
95         requests : 'native'
96         rkCommon : '1.5.1'
97         root: '6.22.02'
98         scipy : 'native'
99         scotch : 'native'
100         setuptools : 'native'
101         sip : 'native'
102         six : 'native'
103         snowballstemmer : 'native'
104         Sphinx : 'native'
105         sphinxcontrib_websupport : 'native'
106         sphinxintl: 'native'
107         sphinx_rtd_theme : 'native'
108         swig : 'native'
109         tbb : 'native'
110         tcl : 'native'
111         tk : 'native'
112         urllib3 : 'native'
113         URANIE : '4.5.0'
114
115         # SALOME MODULES :
116         'CONFIGURATION'
117         'SALOME'
118         'SHAPER'
119         'SHAPERSTUDY'
120         'RESTRICTED'
121         'LIBBATCH' : {tag :'V2_4_4'}
122         'KERNEL'
123         'MEDCOUPLING'
124         'GUI'
125         'GEOM'
126         'SMESH'
127         'NETGENPLUGIN'
128         'BLSURFPLUGIN'
129         'GHS3DPLUGIN'
130         'GHS3DPRLPLUGIN'
131         'HYBRIDPLUGIN'
132         'HexoticPLUGIN'
133         'GMSHPLUGIN'
134         'HEXABLOCK'
135         'HEXABLOCKPLUGIN'
136         'HOMARD'
137         'FIELDS'
138         'PARAVIS'
139         'JOBMANAGER'
140         'YACS'
141         'YACSGEN'
142         'SOLVERLAB' : {tag: 'master'}
143         'DOCUMENTATION'
144         'SAMPLES'
145         'COMPONENT'
146         'PYCALCULATOR'
147         'CALCULATOR'
148         'HELLO'
149         'PYHELLO'
150         'EFICAS' : {tag : 'V9_7_0b1'}
151         'EFICAS_TOOLS' : {tag : 'V9_7_0b1'}
152         'PY2CPP' : {tag: 'v2.0'}
153         'ADAO' : {tag : 'V9_7_0b1'}
154         'ADAO_INTERFACE' : {tag : 'V9_7_0b1'}
155         'PARAVISADDONS' : {tag : 'master'}
156         'CEATESTBASE' : {tag: 'SalomeV9'}
157     }
158     profile :
159     {
160         launcher_name : "salome"
161     }
162     virtual_app:
163     {
164         name : "salome"
165         application_name : "APPLI"
166     }
167     test_base :
168     {
169         name : "SALOME"
170         tag : "SalomeV9"
171     }
172     properties :
173     {
174         mesa_launcher_in_package : "yes"
175         repo_dev : "yes"
176         pip : 'yes'
177         pip_install_dir : 'python'
178         single_install_dir : "yes"
179     }
180 }
181 __overwrite__ :
182 [
183    {
184       # openturns - make install seems to not doing anything (although we see files installation in logs)
185       __condition__ : "VARS.dist in ['FD32', 'CO8']"
186       'APPLICATION.rm_products' : ['openturns']
187    }
188    {
189       # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
190       # deeper investigations need to be done in its sources. Use embedded openCV product where
191       # native one is 4.X.
192       __condition__ : "VARS.dist in ['FD32', 'UB20.04']"
193       'APPLICATION.products.opencv' : '3.2.0'
194    }
195    {
196       #
197       __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
198       'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
199                                                    'paraview.0005-ParaView_find_cgns.patch',
200                                                    'paraview-0012-LATA_64BITS_IDS.patch',
201                                                    'ParaView-5.9.0-CATALYST_cmake.patch',
202                                                    'paraview.0008-ParaView_coincident_rendering.patch']
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-0012-LATA_64BITS_IDS.patch',
214                                                    'paraview-5.9_qt-minimum-version.patch',
215                                                    'paraview.0003-ParaViewClient_native.patch',
216                                                    'ParaView-5.9.0-CATALYST_cmake.patch',
217                                                    'paraview.0008-ParaView_coincident_rendering.patch']
218    }
219    {
220       # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
221       # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
222       __condition__ : "VARS.dist in ['CO8']"
223       'APPLICATION.products.sphinxintl' : '0.9.10'
224       'PRODUCTS.sphinxintl.default.properties.pip' : "no"
225       'APPLICATION.products.cmake' : '3.12.1'
226    }
227 ]