From nobody Fri Nov 11 21:48: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 4N8C590ZRLz4gC9g for ; Fri, 11 Nov 2022 21:48:45 +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 4N8C585PxCz4cQL for ; Fri, 11 Nov 2022 21:48:44 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; 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 3DAE552A82; Fri, 11 Nov 2022 16:48:33 -0500 (EST) Content-Type: text/plain; charset=us-ascii 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: <86leohfdfj.fsf@beastieboy.net> Date: Fri, 11 Nov 2022 16:48:31 -0500 Cc: =?utf-8?Q?Fernando_Apestegu=C3=ADa?= , User Questions Content-Transfer-Encoding: quoted-printable Message-Id: <7835B33A-4F4F-4E0F-8692-F40A8E9FE5CC@gromit.dlib.vt.edu> References: <86h6zajyd0.fsf@beastieboy.net> <86bkpiih05.fsf@beastieboy.net> <42FCFC04-FFB4-41BC-BD1D-009F77A90B65@gromit.dlib.vt.edu> <86leohfdfj.fsf@beastieboy.net> To: Nicolas Herry X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4N8C585PxCz4cQL X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US] X-ThisMailContainsUnwantedMimeParts: N On Nov 11, 2022, at 3:23 PM, Nicolas Herry = wrote: > Paul Mather writes: >=20 >> 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... >=20 > Then I'm curious now: why not opt for poudriere-devel (and binary > downloads)? Do you need to pass specific options to the compilation of > Rust? I don't know whether there are any specific options I use with Rust, = although I do tend to have blanket settings for build dependencies (like = disabling DOCS and TEST options). It's more likely that I didn't know = about poudriere-devel's binary download abilities or didn't realise it = would help when setting up ports-mgmt/sccache-overlay. :-) Also, in my case, I build ALL my ports locally and don't use any FreeBSD = binary repositories, and so I figured that anything that Poudriere could = download it could also pull in directly as a build dependency. Maybe I = need to look more carefully at the Poudriere settings to do with = rebuilding build dependencies unnecessarily. :-\ Also, TBH, the documentation on binary package downloading support in = Poudriere isn't exactly extensive. Prompted by your message I went = looking for it and all I could find is some comments at the end of the = poudriere.conf.sample file. (Also, also, I'm running -STABLE, and I = don't believe there is a FreeBSD package repo for that, so I don't know = how useful the capability would be to me. I could be wrong, though.) Cheers, Paul.=