Re: linking and running tests in parallel
René Ferdinand Rivera Morell via Boost-build <[email protected]> Fri, 28 Aug 2020 10:23:10 -0500
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CAHEh_Gg7EpSczCFCAX+3-i_Um=v3-s+YkY-iB425TKaevRgroQ@mail.gmail.com> |
--===============3257074919625354676== Content-Type: multipart/alternative; boundary="0000000000001b96c505adf1a252" --0000000000001b96c505adf1a252 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Aug 28, 2020 at 9:52 AM John Maddock via Boost-build < [email protected]> 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 > > <[email protected] <mailto:[email protected]>> > 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. --=20 -- Ren=C3=A9 Ferdinand Rivera Morell -- Don't Assume Anything -- No Supone Nada -- Robot Dreams - http://robot-dreams.net --0000000000001b96c505adf1a252 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Fri, Aug 28, 2020 at 9:52 AM John Madd= ock via Boost-build <<a href=3D"mailto:[email protected]">boos= [email protected]</a>> wrote:<br></div><div class=3D"gmail_quote">= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><br> On 28/08/2020 11:46, Arvid Norberg via Boost-build wrote:<br> > On Sat, Mar 30, 2019 at 4:45 PM Steven Watanabe via Boost-build <br> > <<a href=3D"mailto:[email protected]" target=3D"_blank">b= [email protected]</a> <mailto:<a href=3D"mailto:boost-build@lis= ts.boost.org" target=3D"_blank">[email protected]</a>>> wro= te:<br> ><br> >=C2=A0 =C2=A0 =C2=A0On 3/29/19 2:57 AM, Arvid Norberg via Boost-build w= rote:<br> >=C2=A0 =C2=A0 =C2=A0> <snip><br> >=C2=A0 =C2=A0 =C2=A0> In the gcc toolset, there's mentioning of = JAM_SEMAPHORE, in the<br> >=C2=A0 =C2=A0 =C2=A0link rules.<br> >=C2=A0 =C2=A0 =C2=A0> I don't fully understand how this affect t= he linking, but I<br> >=C2=A0 =C2=A0 =C2=A0suspect it<br> >=C2=A0 =C2=A0 =C2=A0> means only one target can be linked at a time.= <br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0<a href=3D"https://github.com/boostorg/build/blob/d= evelop/src/tools/gcc.jam#L1064" rel=3D"noreferrer" target=3D"_blank">https:= //github.com/boostorg/build/blob/develop/src/tools/gcc.jam#L1064</a><br> >=C2=A0 =C2=A0 =C2=A0<<a href=3D"https://github.com/boostorg/build/bl= ob/develop/src/tools/gcc.jam#L1064" rel=3D"noreferrer" target=3D"_blank">ht= tps://github.com/boostorg/build/blob/develop/src/tools/gcc.jam#L1064</a>>= ;<br> >=C2=A0 =C2=A0 =C2=A0> [...]<br> ><br> >=C2=A0 =C2=A0 =C2=A0This is a very old optimization which is almost<br> >=C2=A0 =C2=A0 =C2=A0certainly out-dated.=C2=A0 If no one objects, I'= ;m<br> >=C2=A0 =C2=A0 =C2=A0just going to remove it.<br> ><br> ><br> <br> Yes please!!!<br> <br> I've complained about this before, it's a huge bottleneck building = for <br> MIngw - basically the obj files get built first, and then it sits doing <br= > pretty much nothing linking one test at a time :(<br></blockquote><div><br>= </div><div>Is there an issue or PR for this? I'll fix it regardless :-)= Just wondering if I missed something.<br clear=3D"all"></div></div><br>-- = <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div d= ir=3D"ltr">-- Ren=C3=A9 Ferdinand Rivera Morell<br>-- Don't Assume Anyt= hing=C2=A0 -- No Supone Nada<br>-- Robot Dreams -=C2=A0<a href=3D"http://ro= bot-dreams.net/" target=3D"_blank">http://robot-dreams.net</a><br><br></div= ></div></div></div></div> --0000000000001b96c505adf1a252-- --===============3257074919625354676== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build --===============3257074919625354676==--