]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/graph_parallel/build/Jamfile.v2
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / graph_parallel / build / Jamfile.v2
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-
30 ;
31
32 }
33 else
34 {
35 message boost_graph_parallel
36 : "warning: Graph library does not contain MPI-based parallel components."
37 : "note: to enable them, add \"using mpi ;\" to your user-config.jam"
38 ;
39 }
40
41
42
43 boost-install boost_graph_parallel ;