From nobody Thu Nov 10 16:50:42 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 4N7SWz30ywz4dL4H for ; Thu, 10 Nov 2022 16:50:55 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (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 4N7SWy59H6z3Pvb for ; Thu, 10 Nov 2022 16:50:54 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 2001:468:c80:a103:2:5000:5555:5555) smtp.mailfrom=paul@gromit.dlib.vt.edu; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none) Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 76A2D4DF44; Thu, 10 Nov 2022 11:50:43 -0500 (EST) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Testing ports of rust software w/o building rustc From: Paul Mather In-Reply-To: <86bkpiih05.fsf@beastieboy.net> Date: Thu, 10 Nov 2022 11:50:42 -0500 Cc: =?utf-8?Q?Fernando_Apestegu=C3=ADa?= , User Questions Content-Transfer-Encoding: quoted-printable Message-Id: <42FCFC04-FFB4-41BC-BD1D-009F77A90B65@gromit.dlib.vt.edu> References: <86h6zajyd0.fsf@beastieboy.net> <86bkpiih05.fsf@beastieboy.net> To: Nicolas Herry X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEFALL_USER(0.00)[paul]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4N7SWy59H6z3Pvb X-ThisMailContainsUnwantedMimeParts: N On Nov 7, 2022, at 4:36 PM, Nicolas Herry = wrote: > Fernando Apestegu=C3=ADa writes: >=20 >> Is there a way to avoid having to build rustc and yet test the port = in >> isolation, to be sure I've captured all the dependencies? Or is there >> something I'm missing here I should be doing? >>=20 >> Try to configure poudriere not to use many parallel jobs. Also try = not to put too many things in tmpfs. >=20 > Everything else has been built, only rust was left (as it takes > literally hours to build...), so I had only one job running then. I got tired, too, of Rust taking many many hours to build, so I decided = to install the ports-mgmt/sccache-overlay port to speed things up (it = extends ccache functionality to Rust software). It helps, plus you also = get a ccache speed boost to those other heavyweight ports like llvm* and = gcc* if you're not already using ccache... Cheers, Paul.