Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2022 21:54:10 +0100
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        Nicolas Herry <beastieboy@beastieboy.net>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Testing ports of rust software w/o building rustc
Message-ID:  <CAGwOe2amkTGbbT-kUUBG0woQeP7obBZ8eJV0zHhSUuJL%2BQ-iRA@mail.gmail.com>
In-Reply-To: <86h6zajyd0.fsf@beastieboy.net>
References:  <86h6zajyd0.fsf@beastieboy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c9275405ece7a000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

El lun., 7 nov. 2022 21:36, Nicolas Herry <beastieboy@beastieboy.net>
escribi=C3=B3:

> 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.
>
>

--000000000000c9275405ece7a000
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">El lun., 7 nov. 2022 21:36, Nicolas Herry &lt;<a href=
=3D"mailto:beastieboy@beastieboy.net">beastieboy@beastieboy.net</a>&gt; esc=
ribi=C3=B3:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m working on porting some rust software, but testing the port in my<b=
r>
local poudriere doesn&#39;t work, as I run out of memory systematically (no=
<br>
matter how much swap I try to add to help).<br>
<br>
Is there a way to avoid having to build rustc and yet test the port in<br>
isolation, to be sure I&#39;ve captured all the dependencies? Or is there<b=
r>
something I&#39;m missing here I should be doing?<br></blockquote></div></d=
iv><div dir=3D"auto"><br></div><div dir=3D"auto">Try to configure poudriere=
 not to use many parallel jobs. Also try not to put too many things in tmpf=
s.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Additionally you coul=
d try poudriere-devel since it has the ability to download packages if they=
 are present in the package repository instead of rebuilding them.</div><di=
v dir=3D"auto"><br></div><div dir=3D"auto">I really enjoy the moment when i=
t downloads llvm, GCC, rustic, cmake, etc :-)</div><div dir=3D"auto"><br></=
div><div dir=3D"auto">HTH</div><div dir=3D"auto"><br></div><div dir=3D"auto=
"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Nicolas.<br>
<br>
</blockquote></div></div></div>

--000000000000c9275405ece7a000--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2amkTGbbT-kUUBG0woQeP7obBZ8eJV0zHhSUuJL%2BQ-iRA>