On Fri, Aug 28, 2020 at 10:23 AM René Ferdinand Rivera Morell <grafikrobot@gmail.com> wrote:
On Fri, Aug 28, 2020 at 9:52 AM John Maddock via Boost-build <boost-build@lists.boost.org> wrote:

On 28/08/2020 11:46, Arvid Norberg via Boost-build wrote:
> On Sat, Mar 30, 2019 at 4:45 PM Steven Watanabe via Boost-build
> <boost-build@lists.boost.org <mailto:boost-build@lists.boost.org>> wrote:
>
>     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
>     <https://github.com/boostorg/build/blob/develop/src/tools/gcc.jam#L1064>
>     > [...]
>
>     This is a very old optimization which is almost
>     certainly out-dated.  If no one objects, I'm
>     just going to remove it.
>
>

Yes please!!!

I've complained about this before, it's a huge bottleneck building for
MIngw - basically the obj files get built first, and then it sits doing
pretty much nothing linking one test at a time :(

Is there an issue or PR for this? I'll fix it regardless :-) Just wondering if I missed something.

Anyway... Here it is <https://github.com/boostorg/build/commit/54f811b7593dc751ec1b306cad27f32cfce81f36>.


--
-- René Ferdinand Rivera Morell
-- Don't Assume Anything  -- No Supone Nada
-- Robot Dreams - http://robot-dreams.net