|
Boost-Build : |
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-12-06 01:03:20
K. Noel Belcourt wrote:
> Hi,
>
> I got some libraries that depend on Lapack (optmized math kernels).
> On some systems there is no vendor supplied library so I need to
> build Lapack from source code, other systems have vendor supplied
> libraries I'd like to link against. Here's my problem, I've created
> a feature:
>
> feature lapack : vendor source : propagated ;
>
> When I run bjam, I can select either lapack=vendor or lapack=source
> and everything works fine. The only problem is that because the
> lapack feature is propagated, an entire new source tree (with lapack-
> source) is created when all I really want is to build one library
> from source and link it in (i.e. the lapack library doesn't introduce
> any kind of link incompatibility). Removing the propagated attribute
> clearly won't build the lapack library from source code.
>
> Is there another (combination of) attribute(s) that would propagate
> the lapack=source feature to all targets, but not cause any new
> directories in the build tree?
Make it "incidental"
<http://beta.boost.org/doc/tools/build/doc/html/bbv2/reference/definitions.html#bbv2.reference.features.attributes>.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
Boost-Build 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