Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2022 11:50:42 -0500
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Nicolas Herry <beastieboy@beastieboy.net>
Cc:        =?utf-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Testing ports of rust software w/o building rustc
Message-ID:  <42FCFC04-FFB4-41BC-BD1D-009F77A90B65@gromit.dlib.vt.edu>
In-Reply-To: <86bkpiih05.fsf@beastieboy.net>
References:  <86h6zajyd0.fsf@beastieboy.net> <CAGwOe2amkTGbbT-kUUBG0woQeP7obBZ8eJV0zHhSUuJL%2BQ-iRA@mail.gmail.com> <86bkpiih05.fsf@beastieboy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 7, 2022, at 4:36 PM, Nicolas Herry <beastieboy@beastieboy.net> =
wrote:


> Fernando Apestegu=C3=ADa <fernando.apesteguia@gmail.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FCFC04-FFB4-41BC-BD1D-009F77A90B65>