[tlbuild] running TL24 pretest on OpenBSD
Robert Alessi
alessi at robertalessi.net
Mon Feb 19 14:02:03 CET 2024
Hi Mojca and Norbert,
On Mon, Feb 19, 2024 at 10:01:21AM +0100, Mojca Miklavec wrote:
> On Mon, 19 Feb 2024 at 06:07, Norbert Preining wrote:
> >
> > diff --git a/Build/source/.github/scripts/build-tl.sh b/Build/source/.github/scripts/build-tl.sh
> > index e9bcd5ee3ce..8b39d2c9bf5 100755
> > --- a/Build/source/.github/scripts/build-tl.sh
> > +++ b/Build/source/.github/scripts/build-tl.sh
> > @@ -45,6 +45,9 @@ then
> > freebsd)
> > env ASSUME_ALWAYS_YES=YES pkg install -y gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
> > ;;
> > + openbsd)
> > + pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
>
> You can do an additional test with gcc, but as Robert pointed out
> already, the default clang should work just fine and is probably
> preferred.
>
> You could optionally add something like
> pkg_add -uv
> syspatch
> before(?) installing the packages if you want to make sure that
> everything is up to date.
Better call syspatch before pkg_add -u
Every morning, when coffee's brewing, I do
syspatch
fw_update
pkg_add -u
And of course tlmgr update --all ;)
> Depending on whether the idea is for the binaries to end up with TL
> (as opposed to just checking that there are no build issues),
> you would probably want to have multiple (most likely two) instances
> of OpenBSD builds, for example openbsd6.4 and openbsd6.3 (soon
> replaced by openbsd6.5).
Precisely. Ideally, one should do this work on two different
machines:
1. One running -stable (to date, it is 7.4)
2. Another one running -current
Knowing that there are two releases/year. That is the problem with
TL. Including OpenBSD would require compiling the binaries for that
system say in March and September.
> (I didn't check how adding a version influences the rest of the script.)
>
> Of course it makes sense to first start with one version and get that
> one working. There should be no difference in building the other
> version (other than more confusing yaml syntax).
Yes, most probably.
r
>
> Mojca
More information about the tlbuild
mailing list.