On Wed, Aug 07, 2024 at 04:19:42PM +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 07, 2024 at 01:56:38PM +0000, Daniel Gomez wrote: > > On Wed, Aug 07, 2024 at 01:01:08PM GMT, Greg Kroah-Hartman wrote: > > > On Wed, Aug 07, 2024 at 01:09:14AM +0200, Daniel Gomez via B4 Relay wrote: > > > > This patch set allows for building the Linux kernel for arm64 in macOS with > > > > LLVM. > > > > > > Is this a requirement somewhere that this must work? It seems like an > > > odd request, what workflows require cross-operating-system builds like > > > this? > > > > This isn't a requirement, but it would, for example, support workflows for QEMU > > users and developers on macOS. They could build/compile the kernel natively and > > use it to launch QEMU instances, simplifying their process. > > But that's not a real workload of anyone? How often does this ever come > up? Who is going to maintain this cross-build functionality over time? The delta is becoming very small thanks to the latest patches from Masahiro. Earlier this week (next-20240820) [1] I rebased the work with all the feedback and the patch series has been reduced to 7. For the maintenance part, I suggest keeping a CI to build and boot the lastest linux-next tag available. I can set this up here [2] and take the responsability for maintaining that. But I would be convenient to add documentation for it in the LLVM section and mark this as 'experimental'. If that's okay, I will prepare a v2 with this. [1] https://github.com/SamsungDS/linux/commits/b4/macos-build-support/ [2] https://github.com/SamsungDS/linux > > thanks, > > greg k-h