From nobody Tue Dec 13 16:38:31 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NWkgv2Gmwz4kDKV; Tue, 13 Dec 2022 16:38:03 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWkgt6xr6z41mj; Tue, 13 Dec 2022 16:38:02 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Authentication-Results: mx1.freebsd.org; none Received: from fwd75.dcpf.telekom.de (fwd75.aul.t-online.de [10.223.144.101]) by mailout08.t-online.de (Postfix) with SMTP id B7EBF154B1; Tue, 13 Dec 2022 17:38:00 +0100 (CET) Received: from lenovo.local ([217.226.178.60]) by fwd75.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1p58I2-3TbiXA0; Tue, 13 Dec 2022 17:37:59 +0100 Received: from localhost (lenovo.local [local]) by lenovo.local (OpenSMTPD) with ESMTPA id 2c84ff13; Tue, 13 Dec 2022 16:38:31 +0000 (UTC) Date: Tue, 13 Dec 2022 17:38:31 +0100 From: Christoph Brinkhaus To: Mel Pilgrim Cc: Pat Maddox , User Questions , freebsd-ports@freebsd.org Subject: Re: lang/rust is super slow to build Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TOI-EXPURGATEID: 150726::1670949479-2F7FF535-CF3A29CE/0/0 CLEAN NORMAL X-TOI-MSGID: ec4f094f-8f1f-4375-8eaf-f3fc5d6b2686 X-Rspamd-Queue-Id: 4NWkgt6xr6z41mj X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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.