Hey hey,
I've put together a small Docker image that makes it easier to build a cross-compilation toolchain for x86_64 hosts to target Darwin hosts:
It makes the assumption that the Swift version that ships with Xcode is a good indicator of which LLVM version to use as basis for the toolchain.
Let me know if you have questions, concerns, or ideas 😊
Cheers,
Tor Arne