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

From: Fernando_Apesteguía <fernando.apesteguia_at_gmail.com>
Date: Mon, 07 Nov 2022 20:54:10 UTC
El lun., 7 nov. 2022 21:36, Nicolas Herry <beastieboy@beastieboy.net>
escribió:

> Hi,
>
> I'm working on porting some rust software, but testing the port in my
> local poudriere doesn't work, as I run out of memory systematically (no
> matter how much swap I try to add to help).
>
> 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.

Additionally you could try poudriere-devel since it has the ability to
download packages if they are present in the package repository instead of
rebuilding them.

I really enjoy the moment when it downloads llvm, GCC, rustic, cmake, etc
:-)

HTH


> Thanks,
> Nicolas.
>
>