Salome HOME
fix harmless bug -DCMAKE_C_COMPILER:STRING . '-D' was forgotten
[tools/sat_salome.git] / products / KERNEL.pyconf
1 # add sphinxintl to version_7_8_0_to_8_4_0
2 default :
3 {
4     name : "KERNEL"
5     build_source : "cmake"
6     get_source : "git"
7     git_info:
8     {
9         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/kernel.git"
10         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "kernel.git"
11     }
12     environ :
13     {          
14     }
15     depend : ["Python",
16               "boost",
17               "cppunit",
18               "numpy",
19               "lapack",
20               "hdf5",
21               "omniORB",
22               "omniORBpy",
23               "docutils",
24               "libxml2",
25               "Sphinx",
26               "sphinxintl",
27               "Jinja2",
28               "setuptools",
29               "Pygments",
30               "pytz",
31               "LIBBATCH"
32               ]
33     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
34     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
35     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
36     cmake_options : "-DSALOME_USE_LIBBATCH=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_CMAKE_DEBUG=ON"
37     properties:
38     {
39         is_SALOME_module : "yes"
40         has_unit_tests
41         incremental : "yes"
42     }
43 }
44
45 default_win :
46 {
47     cmake_options : "-DSALOME_USE_LIBBATCH=ON -DCMAKE_GENERATOR=\"Visual Studio 15 2017 Win64\" -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DCMAKE_CXX_COMPILER_ARCHITECTURE_ID=x64 -DBOOST_ROOT=%BOOST_ROOT_DIR:\=/% -DBOOST_DEBUG=ON -DBoost_ADDITIONAL_VERSIONS=\"1.67.0\" \"1.67\" -DBOOST_INCLUDEDIR=%BOOST_ROOT_DIR:\=/%/include/boost-1_67 -DBOOST_LIBRARYDIR=%BOOST_ROOT_DIR:\=/%/lib "
48     depend : ["Python",
49               "boost",
50               "numpy",
51               "lapack",
52               "hdf5",
53               "omniORB",
54               "omniORBpy",
55               "docutils",
56               "libxml2",
57               "Sphinx",
58               "sphinxintl",
59               "Jinja2",
60               "setuptools",
61               "Pygments",
62               "pytz",
63               "LIBBATCH"
64               ]
65     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
66 }
67
68 version_7_8_0_to_8_4_0 :
69 {
70     depend : ["Python",
71               "boost",
72               "numpy",
73               "lapack",
74               "hdf5",
75               "omniORB",
76               "omniORBpy",
77               "docutils",
78               "libxml2",
79               "Sphinx",
80               "Jinja2",
81               "setuptools",
82               "Pygments",
83               "pytz",
84               "LIBBATCH"
85               ]
86     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
87     cmake_options : "-DSALOME_USE_LIBBATCH=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
88 }
89
90
91 # this section is equivalent with version_7_8_0_to_8_4_0, without LIBBATCH
92 ALAMOS_SALOME_9 :
93 {
94     name : "KERNEL"
95     build_source : "cmake"
96     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
97     get_source : "git"
98     git_info:
99     {
100         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/kernel.git"
101         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "kernel.git"
102     }
103     environ :
104     {          
105     }
106     depend : ["Python",
107               "boost",
108               "cppunit",
109               "numpy",
110               "lapack",
111               "hdf5",
112               "omniORB",
113               "omniORBpy",
114               "docutils",
115               "libxml2",
116               "Sphinx",
117               "sphinxintl",
118               "Jinja2",
119               "setuptools",
120               "Pygments",
121               "pytz"
122               ]
123     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
124     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
125     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
126     properties:
127     {
128         is_SALOME_module : "yes"
129         has_unit_tests
130     }
131 }
132
133 ALAMOS_SALOME_9_win :
134 {
135     name : "KERNEL"
136     build_source : "cmake"
137     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe"
138     depend : ["Python",
139               "boost",
140               "numpy",
141               "lapack",
142               "hdf5",
143               "omniORB",
144               "omniORBpy",
145               "docutils",
146               "libxml2",
147               "Sphinx",
148               "sphinxintl",
149               "Jinja2",
150               "setuptools",
151               "Pygments",
152               "pytz",
153               "pthreads"
154             ]
155     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
156     get_source : "git"
157     git_info:
158     {
159         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/kernel.git"
160         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "kernel.git"
161     }
162     environ :
163     {
164     }
165 }
166
167 # this section is equivalent with version_7_8_0_to_8_4_0, without LIBBATCH
168 ALAMOS :
169 {
170     name : "KERNEL"
171     build_source : "cmake"
172     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
173     get_source : "git"
174     git_info:
175     {
176         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/kernel.git"
177         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "kernel.git"
178     }
179     environ :
180     {          
181     }
182     depend : ["Python",
183               "boost",
184               "numpy",
185               "lapack",
186               "hdf5",
187               "omniORB",
188               "omniORBpy",
189               "docutils",
190               "libxml2",
191               "Sphinx",
192               "Jinja2",
193               "setuptools",
194               "Pygments",
195               "pytz"
196               ]
197     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
198     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
199     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
200     properties:
201     {
202         is_SALOME_module : "yes"
203         has_unit_tests
204     }
205 }
206
207 # Default section for MPI version, for SALOME-8.5.0-MPI and later 
208 # (adding sphinxintl prerequisite to previous MPI section).
209
210 default_MPI :
211 {
212     cmake_options : "-DSALOME_USE_MPI=ON -DSALOME_USE_LIBBATCH=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DCMAKE_CXX_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpic++ -DCMAKE_C_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpicc"
213     depend : ["Python",
214               "boost",
215               "numpy",
216               "lapack",
217               "hdf5",
218               "omniORB",
219               "omniORBpy",
220               "docutils",
221               "libxml2",
222               "Sphinx",
223               "sphinxintl",
224               "Jinja2",
225               "setuptools",
226               "Pygments",
227               "pytz",
228               "cppunit",
229               "openmpi",
230               "LIBBATCH"
231               ]
232     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
233 }
234
235 version_V6_6_0 :
236 {
237     name : "KERNEL"
238     build_source : "autotools"
239     get_source : "git"
240     git_info:
241     {
242         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/kernel.git"
243         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "kernel.git"
244     }
245     environ :
246     {          
247     }
248     depend : ["Python",
249               "boost",
250               "numpy",
251               "hdf5",
252               "omniORB",
253               "omniORBpy",
254               "docutils",
255               "libxml2",
256               "Sphinx",
257               "Jinja2",
258               "setuptools",
259               "Pygments"
260               ]
261     opt_depend : ["LIBBATCH"]
262     build_depend : ["swig", "doxygen", "cppunit"]
263     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
264     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
265     properties:
266     {
267         is_SALOME_module : "yes"
268         has_unit_tests
269     }
270 }