Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-28 18:35:50


Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>
>> Vladimir Prus <ghost_at_[hidden]> writes:
>>
>>> This is possible, but I'm concerned about performance implications of
>>> this. It's quite feasible to have 100, or 200 tests, running separate
>>> bjam for each one might be too slow.
>>
>> You could run one bjam for all the tests
>
> It's tricky. Say you have:
>
> if [ configure.has-lib foo ]
> {
> }
>
> if [ configure.has-lib bar ]
> {
> }
>
> Them if you invoke bjam once for configuration, from 'configure.has-lib',
> how that configure step knows that it should check not only for 'foo' but
> also for 'bar', when 'has-lib' for bar is not yet called.
>
> So, you'd have to have a separate file describing configure checks, not the
> above syntax. This is passable, but not ideal.

It's more important to make things work than to make them ideal.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk