Boost logo

Boost-Build :

Subject: Re: [Boost-build] linking and running tests in parallel
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2019-03-30 15:44:36


AMDG

On 3/29/19 2:57 AM, Arvid Norberg via Boost-build wrote:
> <snip>
> In the gcc toolset, there's mentioning of JAM_SEMAPHORE, in the link rules.
> I don't fully understand how this affect the linking, but I suspect it
> means only one target can be linked at a time.
>
> https://github.com/boostorg/build/blob/develop/src/tools/gcc.jam#L1064
>
> Is my assessment correct?

Yes.

> If so, is there a way to tell b2 that I really *do* want to link in
> parallel?

The only way is to edit gcc.jam and remove the
semaphore.

> If not, is there some other mechanism at play, that I can work around to
> allow parallel linking?
>

This is a very old optimization which is almost
certainly out-dated. If no one objects, I'm
just going to remove it.

In Christ,
Steven Watanabe


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