Salome HOME
C3PO: requires mpi4py
[tools/sat_salome.git] / products / SMESH.pyconf
1 default :
2 {
3     name : "SMESH"
4     build_source : "cmake"
5     # cmake option SALOME_SMESH_BUILD_FRENCH_DOC=OFF until SMESH doc has been translated
6     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF -DSALOME_SMESH_USE_TBB=ON"
7     get_source : "git"
8     git_info:
9     {
10         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/smesh.git"
11         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "smesh.git"
12     }
13     environ :
14     {
15         _SMESH_MeshersList : "StdMeshers"
16         SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "smesh"
17     }
18     depend : ["KERNEL",
19               "GUI",
20               "GEOM",
21               "MEDCOUPLING",
22               "Python",
23               "qt",
24               "PyQt",
25               "boost",
26               "CAS",
27               "hdf5",
28               "medfile",
29               "qwt",
30               "ParaView",
31               "libxml2",
32               "omniORB",
33               "docutils",
34               "Sphinx",
35               "Jinja2",
36               "setuptools",
37               "Pygments",
38               "cgns",
39               "six",
40               "pytz",
41               "sphinxintl",
42               "tbb"
43              ]
44     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
45     opt_depend : ['SHAPERSTUDY']
46     patches : []
47     check_install : ["share/doc/salome/gui/SMESH/yams/index.html"]
48     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
49     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
50     properties:
51     {
52         incremental : "yes"
53         has_salome_gui : "yes"
54         is_SALOME_module : "yes"
55         has_unit_tests
56     }
57 }
58
59 default_win :
60 {
61     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_SMESH_USE_CGNS:BOOL=ON -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF -DSALOME_SMESH_USE_TBB=ON"
62     depend : ["KERNEL",
63               "GUI",
64               "GEOM",
65               "MEDCOUPLING",
66               "Python",
67               "qt",
68               "PyQt",
69               "boost",
70               "CAS",
71               "hdf5",
72               "medfile",
73               "qwt",
74               "ParaView",
75               "libxml2",
76               "omniORB",
77               "docutils",
78               "Sphinx",
79               "Jinja2",
80               "setuptools",
81               "Pygments",
82               "cgns",
83               "six",
84               "pytz",
85               "Sphinx",
86               "sphinxintl",
87               "tbb"
88             ]
89     build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"]
90 }
91
92 default_MPI :
93 {
94     depend : ["KERNEL",
95               "GUI",
96               "GEOM",
97               "MEDCOUPLING",
98               "Python",
99               "qt",
100               "PyQt",
101               "boost",
102               "CAS",
103               "hdf5",
104               "medfile",
105               "qwt",
106               "ParaView",
107               "libxml2",
108               "omniORB",
109               "docutils",
110               "Sphinx",
111               "Jinja2",
112               "setuptools",
113               "Pygments",
114               "cgns",
115               "six",
116               "pytz",
117               "sphinxintl",
118               "tbb",
119               "openmpi"
120              ]
121 }
122
123 version_topo2volmesh:
124 {
125    patches : ['smesh_spns-19079_topo2volmesh.patch']
126 }
127
128 version_V9_3_0 :
129 {
130     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF"
131     depend : ["KERNEL",
132               "GUI",
133               "GEOM",
134               "MEDCOUPLING",
135               "Python",
136               "qt",
137               "PyQt",
138               "boost",
139               "CAS",
140               "hdf5",
141               "medfile",
142               "qwt",
143               "ParaView",
144               "libxml2",
145               "omniORB",
146               "docutils",
147               "Sphinx",
148               "Jinja2",
149               "setuptools",
150               "Pygments",
151               "cgns",
152               "six",
153               "pytz",
154               "sphinxintl",
155               "sphinxcontrib_napoleon"
156              ]
157     patches : []
158 }
159
160 version_V9_3_0_win :
161 {
162     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_SMESH_USE_CGNS:BOOL=ON -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF"
163 }
164
165 # Starting from SALOME 9.4.0, we use tbb as product and build SMESH using it to accelerate its performances
166 version_8_5_0_to_9_2_1 :
167 {
168     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF"
169     depend : ["KERNEL",
170               "GUI",
171               "GEOM",
172               "MEDCOUPLING",
173               "Python",
174               "qt",
175               "PyQt",
176               "boost",
177               "CAS",
178               "hdf5",
179               "medfile",
180               "qwt",
181               "ParaView",
182               "libxml2",
183               "omniORB",
184               "docutils",
185               "Sphinx",
186               "Jinja2",
187               "setuptools",
188               "Pygments",
189               "cgns",
190               "six",
191               "pytz",
192               "sphinxintl",
193               "sphinxcontrib_napoleon"
194              ]
195     patches : []
196 }
197
198 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
199 version_7_8_0_to_8_4_0 :
200 {
201     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON"
202     environ :
203     {
204     }
205     depend : ["KERNEL",
206               "GUI",
207               "GEOM",
208               "MEDCOUPLING",
209               "Python",
210               "qt",
211               "PyQt",
212               "boost",
213               "CAS",
214               "hdf5",
215               "medfile",
216               "qwt",
217               "ParaView",
218               "libxml2",
219               "omniORB",
220               "docutils",
221               "Sphinx",
222               "Jinja2",
223               "setuptools",
224               "Pygments",
225               "cgns",
226               "six",
227               "pytz"
228              ]
229     nb_proc : 8
230 }
231
232 version_V6_6_0 :
233 {
234     build_source : "autotools"
235     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON"
236     environ :
237     {
238     }
239     depend : ["KERNEL",
240               "GUI",
241               "GEOM",
242               "MED",
243               "Python",
244               "qt",
245               "PyQt",
246               "boost",
247               "CAS",
248               "hdf5",
249               "medfile",
250               "qwt",
251               "ParaView",
252               "libxml2",
253               "omniORB",
254               "docutils",
255               "Sphinx",
256               "Jinja2",
257               "setuptools",
258               "Pygments"
259              ]
260     check_install : []
261     patches : []
262 }