Re: lang/rust is super slow to build
- In reply to: paul beard : "Re: lang/rust is super slow to build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Dec 2022 11:36:16 UTC
On 13/12/2022 03:42, paul beard wrote: > > > 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…it would fill up swap and > die before completing, after hours of work. Never understood why > WORKDIR pointed to my small /tmp partition vs my generous /usr > filesystem. > > -- > I had same issue, and it seems like there's been an llvm/rust/gcc update very often we are now switching to prebuilt for these, but out toolchains are all setup for ports so its not a trivial task. interesting tip re workdir ( although i'd still prefer it not to be churning away for hrs) -- ------------------------- Paul Macdonald (he/him) IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e:paul@ifdnrg.com w:http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- Virtual Servers from £50.00pm High specification Dedicated Servers from £150.00pm ----------------------------------------------------