Large builds with poudriere

Chris portmaster at bsdforge.com
Thu May 20 20:09:29 UTC 2021


On 2021-05-20 12:21, Kevin Oberman wrote:
> On Thu, May 20, 2021 at 8:08 AM Chris <portmaster at bsdforge.com> wrote:
> 
>> On 2021-05-20 06:15, Ronald Klop wrote:
>> > On 5/20/21 2:47 PM, Fernando Apesteguía wrote:
>> >> El jue., 20 may. 2021 14:45, Alexis Praga <alexis.praga at gmail.com>
>> >> escribió:
>> >>
>> >>>
>> >>> Hi guys,
>> >>>
>> >>> I've recently been using poudriere to test news ports but this
>> resulted in
>> >>> building two large ports, namely:
>> >>> - devel/llvm [1]
>> >>> - lang/rust [2]
>> >>>
>> >>> Now, lang/rust takes 2 hourse to compile. So testing for 13.0, 12.2 and
>> >>> 11.4 means around 6 hours in total, a lot of time for my desktop
>> >>> computer. Especially if the dependencies are upgraded later on.
>> >>>
>> >>> Do you have any tips to deal with such long build time ? Apart from
>> >>> have a dedicated server :)
>> >>>
>> >>
>> >> Patience :-)
>> >>
>> >> Package seeding in poudriere is a long awaited feature.
>> >>
>> >
>> >
>> > You can manually put the rust/llvm package in the All packages directory
>> and
>> > poudriere will use that. It is a manual repeating task though. So the
>> > package
>> > seeding is indeed a nice feature.
>> I can't believe I didn't already know that. :-/
>> Thanks, Ronald. Today you are a hero! :-)
>> 
>> --Chris
>> >
>> > Ronald.
>> >
>> >
>> >
>> >
>> >
>> >>> Thanks,
>> >>>
>> >>>
>> >>> [1] For https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233010
>> >>> [2] For https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255233
>> >>>
>> >>> --
>> >>> Alexis Praga
>> 
> You can greatly reduce the build-time for devel/llvm* by changing the
> config to BE_NATIVE to avoid building backends for all FreeBSD supported
> platforms. Obviously this is not acceptable for many cases, but if you
> never cross-compile for other platforms, it's a really big win.
If I understand correctly. Isn't your suggestion synonymous with
WITHOUT_CROSS_COMPILER?

Thanks

--Chris
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman at gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list