• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7import mpi ;
8
9project boost/graph_parallel
10    : requirements <include>../src
11    : source-location ../src
12    ;
13
14local optional_sources ;
15local optional_reqs ;
16
17if [ 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-
30      <local-visibility>global
31    ;
32
33}
34else
35{
36  message boost_graph_parallel
37      : "warning: Graph library does not contain MPI-based parallel components."
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."
40      ;
41}
42
43boost-install boost_graph_parallel ;
44