Salome HOME
New overwrite in SALOME-master to build FD30 with debug warnings flags (LIBBATCH...
[tools/sat_salome.git] / applications / SALOME-master.pyconf
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3
4 APPLICATION :
5 {
6     name : 'SALOME-master'
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 : sequential # OpenMP # choose among: sequential / OpenMP / TBB switches
22         }
23         launch : {PYTHONIOENCODING:"UTF_8", SALOME_MODULES_ORDER:"SHAPER:SHAPERSTUDY:GEOM:SMESH"}
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 : '0.7.6'
31         Babel : '2.7.0'
32         boost : '1.58.0'
33         CAS : 'CR740-SALOME-PATCH'
34         certifi : '2018.8.24'
35         cgns : '3.3.1'
36         chardet : '3.0.4'
37         click : '6.7'
38         cmake : '3.12.1'
39         cppunit : '1.13.2'
40         cycler : '0.10.0'
41         Cython : '0.25.2'
42         dateutil : '2.4.2'
43         docutils : '0.12'
44         doxygen : '1.8.14'
45         eigen : '3.3.4'
46         embree : '3.3.0'
47         freeimage : '3.16.0'
48         freetype : '2.9.1'
49         gmsh : '4.1.4'
50         graphviz : '2.38.0'
51         hdf5 : '1.10.3'
52         idna : '2.7'
53         imagesize : '1.0.0'
54         ispc : '1.9.2'
55         Jinja2 : '2.7.3'
56         kiwisolver : '1.0.1'
57         lapack : '3.8.0'
58         libxml2 : '2.9.1'
59         llvm : '8.0.1-clang'
60         markupsafe : '0.23'
61         matplotlib : '2.2.2'
62         medfile : {section: 'default_Autotools', tag: '4.1.0'}
63         mesa : '19.0.8'
64         MeshGems : '2.12-1'
65         metis : '5.1.0'
66         netgen : '5.3.1_with_CAS_7.2'
67         nlopt : '2.4.2'
68         numpy : '1.15.1'
69         omniORB : '4.2.2'
70         omniORBpy : '4.2.2'
71         opencv : '3.2.0'
72         openssl : "native"
73         ospray : '1.8.4'
74         packaging : '17.1'
75         ParaView : '5.8.0'
76         petsc : '3.14.0'
77         Pillow : '7.1.1'
78         planegcs : '0.18-3cb6890'
79         pockets : '0.6.2'
80         Pygments : '2.0.2'
81         pyparsing : '2.0.3'
82         PyQt : '5.9'
83         PyQtChart : '5.9'
84         pyreadline : '2.0'
85         Python : '3.6.5'
86         pytz : '2015.7'
87         qt : '5.9.1'
88         qwt : '6.1.2'
89         requests : '2.19.1'
90         scipy : '0.19.1'
91         scotch : '6.0.4'
92         setuptools : '38.4.0'
93         sip : '4.19.3'
94         six : '1.10.0'
95         snowballstemmer : '1.2.1'
96         Sphinx : '1.7.6'
97         sphinxcontrib_napoleon : '0.6.1'
98         sphinxcontrib_websupport : '1.1.0'
99         sphinx_rtd_theme : '0.4.3'
100         sphinxintl: '0.9.10'
101         swig : '3.0.12'
102         tbb : 'native'
103         tcl : '8.6.0'
104         tk : '8.6.0'
105         urllib3 : '1.23'
106
107         # SALOME MODULES :
108         'CONFIGURATION'
109         'SALOME'
110         'SHAPER'
111         'SHAPERSTUDY'
112         'RESTRICTED'
113         'LIBBATCH' : {tag : 'V2_4_4'}
114         'KERNEL'
115         'MEDCOUPLING'
116         'GUI'
117         'GEOM'
118         'SMESH'
119         'NETGENPLUGIN'
120         'BLSURFPLUGIN'
121         'GHS3DPLUGIN'
122         'GHS3DPRLPLUGIN'
123         'HYBRIDPLUGIN'
124         'HexoticPLUGIN'
125         'GMSHPLUGIN'
126         'HEXABLOCK'
127         'HEXABLOCKPLUGIN'
128         'HOMARD' : {tag : 'gn/evol_01'}
129         'FIELDS'
130         'PARAVIS'
131         'JOBMANAGER'
132         'YACS'
133         'YACSGEN'
134         'SOLVERLAB'
135         'DOCUMENTATION'
136         'SAMPLES'
137         'COMPONENT'
138         'PYCALCULATOR'
139         'CALCULATOR'
140         'HELLO'
141         'PYHELLO'
142         'EFICAS'
143         'EFICAS_TOOLS'
144         'PY2CPP' : {tag: 'v2.0'}
145         'ADAO'
146         'ADAO_INTERFACE'
147         'PARAVISADDONS' : {tag : 'kw/issue23'}
148         'CEATESTBASE' : {tag: 'SalomeV9'}
149     }
150     profile :
151     {
152         launcher_name : "salome"
153     }
154     virtual_app:
155     {
156         name : "salome"
157         application_name : "APPLI"
158     }
159     test_base : 
160     {
161         name : "SALOME"
162         tag : "SalomeV9"
163     }
164     properties :
165     {
166         mesa_launcher_in_package : "yes"
167         repo_dev : "yes"
168         pip : 'yes'
169         pip_install_dir : 'python'
170         single_install_dir : "yes"
171     }
172 }
173 __overwrite__ :
174 [
175   {
176    # GTK  compilation issue
177     __condition__ : "VARS.dist in ['CO6']"
178     'APPLICATION.products.opencv' : '2.4.13.5'
179     'APPLICATION.products.tbb' : '4.4'
180     'APPLICATION.products.llvm' : '3.9.1-clang'
181     'APPLICATION.products.mesa' : '13.0.6'
182     'PRODUCTS.embree.default.patches' : ['embree-3.5.2-centos6.patch']
183   }
184
185   {
186    # tbb as a mandatory native product since SMESH with tbb, not installed on DB8 (temporary)
187     __condition__ : "VARS.dist in ['DB08']"
188     'APPLICATION.products.tbb' : '4.4'
189   }
190
191   {
192     #
193     __condition__ : "VARS.dist in ['FD26']"
194     'APPLICATION.products.tbb'    : '2017-7'
195     'APPLICATION.products.embree' : '3.5.2'
196   }
197
198   {
199     #
200     __condition__ : "VARS.dist in ['UB20.04']"
201     'PRODUCTS.qt.version_5_9_1.patches' : ['qt-5.9.1-UB20-FD32-socketcanbackend.patch']
202   }
203
204   {
205     # Build Fedora 30 with less permissive compilation flags (see spns #18962)
206     __condition__ : "VARS.dist in ['FD30']"
207     'PRODUCTS.LIBBATCH.default.cmake_options' : "-DLIBBATCH_DEBUG_WARNINGS=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
208     'PRODUCTS.CONFIGURATION.default.patches' : ['CONFIGURATION-SALOME-DEBUG-WARNINGS.patch']
209   }
210
211   {
212     __condition__ : "VARS.dist in ['FD32']"
213     'APPLICATION.products.scipy' : '1.5.2' # gcc https://github.com/scipy/scipy/issues/11611 - either patch numpy to include -fallow-argument-mismatch or move to that version
214     # see https://bugs.gentoo.org/708730
215     'PRODUCTS.llvm.version_8_0_1_clang.patches' : ['llvm-8.0.1-clang-FD32.patch']
216     'PRODUCTS.qt.version_5_9_1.patches' : ['qt-5.9.1-UB20-FD32-socketcanbackend.patch', 'qt-5.9.1-mapbox-FD32.patch']
217     'PRODUCTS.mesa.version_19_0_8.patches' : ['mesa-19.0.8-debug_symbol.patch']
218   }
219
220   {
221     __condition__ : "VARS.dist in ['CO7'] and APPLICATION.environ.build.VTK_SMP_IMPLEMENTATION_TYPE == 'OpenMP'"
222     'PRODUCTS.ParaView.version_5_8_0.patches' : ['paraview.0003-ParaViewClient.patch',
223                                                  'paraview.0004-ParaView_hdf5.patch',
224                                                  'paraview.0005-ParaView_find_cgns.patch',
225                                                  'paraview.0006-ParaView_find_libxml2.patch',
226                                                  'paraview.0007-ParaView_find_freetype.patch',
227                                                  'paraview.0009-ParaView_volume_mapper.patch',
228                                                  'paraview.0011-vtkSMPSelection.patch',
229                                                  'pv_coincident.patch',
230                                                  'paraview-0012-LATA_64BITS_IDS.patch'
231                                                 ]
232   }
233
234   {
235     __condition__ : "VARS.dist in ['CO7'] and APPLICATION.environ.build.VTK_SMP_IMPLEMENTATION_TYPE == 'TBB'"
236     'APPLICATION.products.tbb' : '4.4'
237   }
238
239   {
240     # Adapt Paraview CMake files to be compliant with recent distributions
241     __condition__ : "VARS.dist in ['FD30', 'FD32', 'CO8']"
242     'PRODUCTS.ParaView.version_5_8_0.patches' : ['paraview.0004-ParaView_hdf5.patch',
243                                                  'paraview.0005-ParaView_find_cgns.patch',
244                                                  'paraview.0006-ParaView_find_libxml2.patch',
245                                                  'paraview.0007-ParaView_find_freetype.patch',
246                                                  'paraview.0009-ParaView_volume_mapper.patch',
247                                                  'paraview.0010-ParaViewClient.patch',
248                                                  'paraview.0010-ParaView_find_python.patch',
249                                                  'pv_coincident.patch',
250                                                  'paraview-0012-LATA_64BITS_IDS.patch'
251                                                 ]
252   }
253 ]