Date: Tue, 13 Dec 2022 17:38:31 +0100 From: Christoph Brinkhaus <c.brinkhaus@t-online.de> To: Mel Pilgrim <list_freebsd@bluerosetech.com> Cc: Pat Maddox <pat@patmaddox.com>, User Questions <freebsd-questions@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: lang/rust is super slow to build Message-ID: <Y5iqhyV9JZZblZPU@lenovo.local> In-Reply-To: <c2c55e9a-3af7-19b9-a9f4-060cd4e1f584@bluerosetech.com> References: <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com> <c2c55e9a-3af7-19b9-a9f4-060cd4e1f584@bluerosetech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Tue, Dec 13, 2022 at 07:55:11AM -0800 schrieb Mel Pilgrim: Hi Mel, > On 2022-12-12 11: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. > > That sounds typical. You can use ccache and tmpfs to speed it up a little > bit, but both rust and llvm are computationally massive. I really have no idea why the software is so bulky nowadays. > Even worse, poudriere doesn't need to build it. If you aren't changing its > options there's no functional difference between building it locally and > installing from the public pkg repo. Poudriere does have the ability to > install from pkgs, but there is a 2-year-old bug that prevents that feature > from working correctly. The developmenmt version poudriere-devel has got the feature to download the packages specified in some configuration file. Disclaimer: I have not used it because I can like with the packaged software. # > I recommend everyone comment on issue #822 on the freebsd/poudriere > github[1] and explain how much of a pain it is that poudriere doesn't have > sane behaviour wrt dependencies. Maybe if enough people comment it will > spur a fix. > > 1: https://github.com/freebsd/poudriere/issues/822 Kind regards, Christoph -- Ist die Katze gesund schmeckt sie dem Hund.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y5iqhyV9JZZblZPU>