Re: lang/rust is super slow to build

From: Mark Tinka <mark_at_tinka.africa>
Date: Tue, 13 Dec 2022 03:37:39 UTC

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.