|
Boost : |
Subject: Re: [boost] bcp update, was: The boost component dependencies blues
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2009-12-16 14:18:14
On 12/16/2009 02:10 PM, Jeremiah Willcock wrote:
>>> MPI still gets pulled in - this is an artifact of some recent
>>> changes to boost.graph (which is used by python) to optionally make
>>> use of the parallel graph lib depending upon some #define.
>>
>> I see boost/graph/accounting.hpp includes boost/mpi/config.hpp. Is
>> this the culprit ? Can't that dependency chain be broken up, to not
>> have boost.python depend on boost.mpi ? (I think this is really a
>> general question, not specific to boost.graph. I remember seeing a
>> quite rediculous dependency graph generated by Troy Straszheim, and
>> breaking out of this would probably be a good idea independently from
>> whether someone tries to break out individual components or not. (It
>> may well reduce overall compile time.)
>
> There a bunch of other Boost.Graph files that include things from
> boost/graph/parallel which uses Boost.MPI. This was done to allow
> more transparent use of parallel graph data structures and algorithms,
> just by including <boost/graph/use_mpi.hpp>.
OK, but that is different. I'm totally fine with getting a dependency on
boost.mpi by explicitly including boost/graph/use_mpi.hpp.
I'm not aware of boost.python doing that, however, so I don't want to
pay the price for it.
Thanks,
Stefan
-- ...ich hab' noch einen Koffer in Berlin...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk