Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2022 05:37:39 +0200
From:      Mark Tinka <mark@tinka.africa>
To:        questions@freebsd.org
Subject:   Re: lang/rust is super slow to build
Message-ID:  <64a29447-0b4a-eca0-7264-24d9d1afb3a9@tinka.africa>
In-Reply-To: <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com>
References:  <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64a29447-0b4a-eca0-7264-24d9d1afb3a9>