Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2021 12:21:05 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Chris <portmaster@bsdforge.com>
Cc:        Ronald Klop <ronald-lists@klop.ws>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Large builds with poudriere
Message-ID:  <CAN6yY1sCw4sB=oHkCQS5a1vj7zOO_4TtQfKDcNi87E2BpL3MFQ@mail.gmail.com>
In-Reply-To: <7ed06cbcf959802768d8b47b92b159ff@bsdforge.com>
References:  <86h7ixpoa2.fsf@ecchi.i-did-not-set--mail-host-address--so-tickle-me> <CAGwOe2bcgCGn4Y6sr1T2aggGOAH9Og8Z1jZ60pRGB%2BJUHuytNw@mail.gmail.com> <e20f6364-3158-61a6-25e7-2cf7a2a535df@klop.ws> <7ed06cbcf959802768d8b47b92b159ff@bsdforge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 20, 2021 at 8:08 AM Chris <portmaster@bsdforge.com> wrote:

> On 2021-05-20 06:15, Ronald Klop wrote:
> > On 5/20/21 2:47 PM, Fernando Apestegu=C3=ADa wrote:
> >> El jue., 20 may. 2021 14:45, Alexis Praga <alexis.praga@gmail.com>
> >> escribi=C3=B3:
> >>
> >>>
> >>> 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 a=
nd
> >>> 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 director=
y
> 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=3D233010
> >>> [2] For https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255233
> >>>
> >>> --
> >>> 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.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sCw4sB=oHkCQS5a1vj7zOO_4TtQfKDcNi87E2BpL3MFQ>