Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-07-27 12:46:28


I didn't really consider "other solutions".

But now you ask me about it, I looked into the spirit
documentation and I see that grammars are not
re-entrant without taking special steps. This is/was
totally new to me. Not of huge consequence as only
as of version 1.36 is the serialization library thread
safe (I hope).

So I tweaked the Jamfile according to your suggestion.
We'll see what happens on the next test run.

I have a lot of reservations about this as it makes
the thread-safe build dependent on another non-trivial
boost library. Which would be bad enough. My last
experiments with BJAM resulted in static/dynamic/threading
variations being silently changed for different compilers.
This cost me a lot of wasted time and effort trying to track down causes
of changes in behavior. I complained about this at the time.
I don't know if this has been addressed since then.

And while I'm on the subject, I would like to see BJAM
files fixed up so that the borland and Comeau compilers work.
I complained about this as well and nothing happened.

Robert Ramey

Vladimir Prus wrote:
> On Saturday 26 July 2008 22:27:33 Robert Ramey wrote:
>>> /boost/thread//boost_thread #
>>> needed to add this as a dep b/c we need to link threads when we
>>> define
>>
>> This seems like a very bad idea to me. I hope this wasn't checked
>> into the release branch.
>>
>> I looks to me that this means that anyone using the serializaiton
>> library is now depending upon boost_thread in some way. If this is
>> the case - then its beyond a terrible idea- it's just plain wrong.
>> That fact that it's used as a work around in your situation
>> where you only build for mult-threading is no excuse or reason that
>> everyone else
>> should live with this.
>>
>> Find another solution.
>
> Did you notice that I've proposed "another solution" -- which is
> slightly tweaked Tim's solution?
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build


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