Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-29 03:07:05

On Friday 26 November 2004 19:54, Toon Knapen wrote:

> I'm pretty sure you added the <parallelism> feature example after a
> similar question from me;-) Only now I start to really understand the
> power of this and how to do it. So I tried it but bjam tells me that I
> have a recursivity problem and have no idea why.

Hi Toon,
Unfortunately, I could not find the definition of "parallelism" in your
example, and the definition of libfoo is missing.

However, here's something strange:

alias mpiheaders
: # sources
: # requirements
: # default-build
: <define>$(MPI_DEFINES)

# Define the real-mpi library target
lib libmpi
: # sources
: # requirements
: # default-build
: # usage-requirements

Why "mpiheaders" are in sources? Does removing them help? If not, try running

bjam --debug-targets

which would output the build properties for mpiheaders. I'd like to see that
output. I suppose that somehow those properties include <parallelism>mpi, and
a recursive attempt to build the same target is made.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at