Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52332 - trunk/libs/graph_parallel/build
From: ghost_at_[hidden]
Date: 2009-04-11 10:41:33


Author: vladimir_prus
Date: 2009-04-11 10:41:32 EDT (Sat, 11 Apr 2009)
New Revision: 52332
URL: http://svn.boost.org/trac/boost/changeset/52332

Log:
Fix build of graph_parallel when MPI is not configured.

Text files modified:
   trunk/libs/graph_parallel/build/Jamfile.v2 | 24 +++++++++++++-----------
   1 files changed, 13 insertions(+), 11 deletions(-)

Modified: trunk/libs/graph_parallel/build/Jamfile.v2
==============================================================================
--- trunk/libs/graph_parallel/build/Jamfile.v2 (original)
+++ trunk/libs/graph_parallel/build/Jamfile.v2 2009-04-11 10:41:32 EDT (Sat, 11 Apr 2009)
@@ -26,17 +26,8 @@
         <library>../../mpi/build//boost_mpi
         <library>/mpi//mpi [ mpi.extra-requirements ]
       ;
-}
-else
-{
- message pbgl
- : "warning: Graph library does not contain MPI-based parallel components."
- : "note: to enable them, add \"using mpi ;\" to your user_config.jam"
- ;
-}
-explicit pbgl ;
-
-lib boost_graph_parallel
+
+ lib boost_graph_parallel
     :
     pbgl
     :
@@ -49,4 +40,15 @@
     <toolset>msvc-8.0:<cxxflags>-GR-
     ;
 
+}
+else
+{
+ message boost_graph_parallel
+ : "warning: Graph library does not contain MPI-based parallel components."
+ : "note: to enable them, add \"using mpi ;\" to your user_config.jam"
+ ;
+}
+
+
+
 boost-install boost_graph_parallel ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk