Date: Mon, 12 Dec 2022 19:42:47 -0800 From: paul beard <paulbeard@gmail.com> To: mark@tinka.africa Cc: questions@freebsd.org Subject: Re: lang/rust is super slow to build Message-ID: <CAMtcK2rkArCfxaK7ATz=omcRC4ytNhWS4=JJJjDDb2THgPJsiw@mail.gmail.com> In-Reply-To: <64a29447-0b4a-eca0-7264-24d9d1afb3a9@tinka.africa> References: <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com> <64a29447-0b4a-eca0-7264-24d9d1afb3a9@tinka.africa>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000074c7a305efad6a88 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 12, 2022 at 7:38 PM Mark Tinka <mark@tinka.africa> wrote: > > > On 12/12/22 21:27, Pat Maddox wrote: > > > Using poudriere, lang/rust is at 2 hours and counting on my 10-core i9 > > w/ 128 gigs of RAM. > > > > Does that sound right? It seems extremely slow to me, but this is my > > first time building it. > > > > How long does it take others to build? What options are you using, or > > any other suggestions for shortening the time? > > I've found the only way to shorten the time is to install the binary > package. > > It normally takes a couple of hours to build on my systems when I use > the Ports, which I don't mind. I do have some systems that were not well > configured for space when they were installed, and building Rust on > these consumes all the disk space during the build phase. For these, I > just upgrade from binary and I'm done with it. Takes all of 2 minutes. > > Mark. > > I swapped to binary upgrades for this port=E2=80=A6it would fill up swap an= d die before completing, after hours of work. Never understood why WORKDIR pointed to my small /tmp partition vs my generous /usr filesystem. --=20 Paul Beard / www.paulbeard.org/ --00000000000074c7a305efad6a88 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 12, 2022 at 7:38 PM Mark = Tinka <mark@tinka.africa> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-= style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br> <br> On 12/12/22 21:27, Pat Maddox wrote:<br> <br> > Using poudriere, lang/rust is at 2 hours and counting on my 10-core i9= <br> > w/ 128 gigs of RAM.<br> ><br> > Does that sound right? It seems extremely slow to me, but this is my <= br> > first time building it.<br> ><br> > How long does it take others to build? What options are you using, or = <br> > any other suggestions for shortening the time?<br> <br> I've found the only way to shorten the time is to install the binary <b= r> package.<br> <br> It normally takes a couple of hours to build on my systems when I use <br> the Ports, which I don't mind. I do have some systems that were not wel= l <br> configured for space when they were installed, and building Rust on <br> these consumes all the disk space during the build phase. For these, I <br> just upgrade from binary and I'm done with it. Takes all of 2 minutes.<= br> <br> Mark.<br> <br> </blockquote></div><div><br></div>I swapped to binary upgrades for this por= t=E2=80=A6it would fill up swap and die before completing, after hours of w= ork. Never understood why WORKDIR pointed to my small /tmp partition vs my = generous /usr filesystem.=C2=A0<div><div><br></div>-- <br><div dir=3D"ltr" = class=3D"gmail_signature">Paul Beard / <a href=3D"http://www.paulbeard.org/= " target=3D"_blank">www.paulbeard.org/</a><br></div></div></div> --00000000000074c7a305efad6a88--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2rkArCfxaK7ATz=omcRC4ytNhWS4=JJJjDDb2THgPJsiw>