Re: linking and running tests in parallel

Steven Watanabe via Boost-build <[email protected]> Sat, 30 Mar 2019 09:44:36 -0600
Newsgroups gmane.comp.lib.boost.build
Organization Providere Consulting, Inc.
Message-ID <[email protected]>
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
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build