From nobody Tue Dec 13 03:37:39 2022 X-Original-To: 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 4NWPMj49QTz4jddZ for ; Tue, 13 Dec 2022 03:37:53 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWPMh2rkSz3vYW for ; Tue, 13 Dec 2022 03:37:52 +0000 (UTC) (envelope-from mark@tinka.africa) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=CEb4Vih8; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa; dmarc=pass (policy=none) header.from=tinka.africa DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DITlIIkepq6hp+HKk5YnXzc+Q+lbs7Nd3DigxOFKW7E=; b=CEb4Vih8sXkhgw1nbPKA4WqiGc K8F+HOJD1M58N5OoxJxKfizSKu9IBlWSlVHFtueEoVGH5KoOBQs2OUw6jMCO8IOGGWcoOk0rFl0Mp moajTioNfKS5e9EDZoGjr7RgqzGxCd2bKnGkmNcgH3eJMO5EO4n44zyBeGLxSSFHTJ4amaAI69Dbn yCLPMC2Ebwi4UmEVaK/5ZFLt8Hnr2TLnEy43UDFej4SA5/tKoZPWRREhOauuI7IzAJlj5Kee9rvif Ks7eB4P4Ci4llVhaMLc7spSYrScpaU8+ZyJmUgnTvLxJqc0OpxkNGqCNoVpECgdZyIuEiZP9emlXo N0hyaDYQ==; Received: from [127.0.0.1] by the-host.tinka.africa with esmtp (Exim 4.92.1) (envelope-from ) id RMT8QT-000XUE-GK for questions@freebsd.org; Tue, 13 Dec 2022 05:37:41 +0200 Message-ID: <64a29447-0b4a-eca0-7264-24d9d1afb3a9@tinka.africa> Date: Tue, 13 Dec 2022 05:37:39 +0200 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 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: lang/rust is super slow to build Content-Language: en-US To: questions@freebsd.org References: From: Mark Tinka In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.99 / 15.00]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[mark]; DKIM_TRACE(0.00)[tinka.africa:+]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NWPMh2rkSz3vYW X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N 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.