]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Copyright (c) 2002 Trustees of Indiana University |
2 | # | |
3 | # Distributed under the Boost Software License, Version 1.0. | |
4 | # (See accompanying file LICENSE_1_0.txt or copy at | |
5 | # http://www.boost.org/LICENSE_1_0.txt) | |
6 | ||
7 | import mpi ; | |
8 | ||
9 | project boost/graph_parallel | |
10 | : requirements <include>../src | |
11 | : source-location ../src | |
12 | ; | |
13 | ||
14 | local optional_sources ; | |
15 | local optional_reqs ; | |
16 | ||
17 | if [ mpi.configured ] | |
18 | { | |
19 | lib boost_graph_parallel | |
20 | : mpi_process_group.cpp tag_allocator.cpp | |
21 | : <library>../../mpi/build//boost_mpi | |
22 | <library>/mpi//mpi [ mpi.extra-requirements ] | |
23 | <define>BOOST_GRAPH_NO_LIB=1 | |
24 | <link>shared:<define>BOOST_GRAPH_DYN_LINK=1 | |
25 | # # Intel compiler ICEs if we turn optimization on | |
26 | <toolset>intel-vc71-win-9.1:<optimization>off | |
27 | # Without these flags, MSVC 7.1 crash | |
28 | # User reports that VC++ 8 no longer has this problem | |
29 | <toolset>msvc-7.1:<cxxflags>-GR- | |
92f5a8d4 | 30 | <local-visibility>global |
7c673cae FG |
31 | ; |
32 | ||
33 | } | |
34 | else | |
35 | { | |
36 | message boost_graph_parallel | |
37 | : "warning: Graph library does not contain MPI-based parallel components." | |
92f5a8d4 TL |
38 | : "note: to enable them, add \"using mpi ;\" to your user-config.jam." |
39 | : "note: to suppress this message, pass \"--without-graph_parallel\" to bjam." | |
7c673cae FG |
40 | ; |
41 | } | |
42 | ||
7c673cae | 43 | boost-install boost_graph_parallel ; |