Re: Testing ports of rust software w/o building rustc

From: Paul Mather <paul_at_gromit.dlib.vt.edu>
Date: Thu, 10 Nov 2022 16:50:42 UTC
On Nov 7, 2022, at 4:36 PM, Nicolas Herry <beastieboy@beastieboy.net> wrote:


> Fernando ApesteguĂ­a <fernando.apesteguia@gmail.com> writes:
> 
>> 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?
>> 
>> Try to configure poudriere not to use many parallel jobs. Also try not to put too many things in tmpfs.
> 
> 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.