On Sun, May 23, 2021, at 7:05 PM, Matthew Flatt wrote: > At Sat, 22 May 2021 08:09:53 -0700 (PDT), "[email protected]" wrote: > > Is there any interest in having a FreeBSD installation alongside the > > macOS, Windows, and Linux? > > I'm not sure how ready the John (the release manager) will be to add a > new platform, but I'm willing to give it a try at the Utah snapshot. > The main obstacle is maintaining a FreeBSD build environment. Maybe a > good possibility is to have a Docker image for Linux that is set up for > cross compilation to FreeBSD. Then, given the right `configure` flags > to make the cross build work, it should be relatively easy to add it to > the Utah build. If you think that's promising and can work out the > Docker image and `configurge` arguments, I can drop it in.
OK, I'll take a look at that. Can you point me to the existing setup, with its ./configure script and Docker image for the existing setup? Alternatively, one thing I'm happy to do would be to make a shell script that fires up a vanilla FreeBSD machine, downloads the source for 8.1, builds it and installs it into a fresh directory. The infrastructure wouldn't need to be online all the time; you'd use the script I have in mind only once per release (possibly multiple times, in case the build fails or some tests break). > To keep the build process from getting too big while still improving > cross-build support, we might add more Minimal Racket builds without > expanding the set of full distributions. Would that be reasonable for > FreeBSD, or did you have in mind a full distribution? Yes, that sounds fine -- I had the Minimal Racket build in mind. > Meanwhile, I've updated the `raco cross` documentation to provide > advice on building your own target bundles when the download site > doesn't provide the right ones. > > Also not what you asked for, but to make a related scenario easier, > I've added `--use-source` to `raco cross` for host builds. For example, > if you're running on FreeBSD, `--use-source` lets you get a host build > for cross-building to another platform (where the other platform does > have installers available). That doesn't help to cross-build to FreeBSD > using a different platform, though. -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/d2035e8d-2cfd-4005-9f50-32fe6c3c337a%40www.fastmail.com.
