$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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)
<include>/usr/local/mpich-1.2.5.2/include
;
# Define the real-mpi library target
lib libmpi
: # sources
mpiheaders
: # requirements
<file>/usr/local/mpich-1.2.5.2/lib/libmpich.a
: # default-build
: # usage-requirements
<use>/user-config//mpiheaders/<parallelism>none
;
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