Is there a way to build kernel extensions for macOS using bazel?
I want to port https://github.com/YungRaj/MacRootKit to bazel so that I don't have to deal with the stress that comes with using another build system such as cmake. Any ideas?
I know that genrule()'s could probably work in building the .kext artifact but I think the major challenge is getting the Xcode frameworks and tooling to play nicely and ensuring that all the relevant compiler and linker flags (which I use here https://github.com/YungRaj/MacRootKit/blob/main/make_kext.mk) are included.
Hey all,
Is there a way to build kernel extensions for macOS using bazel?
I want to port https://github.com/YungRaj/MacRootKit to bazel so that I don't have to deal with the stress that comes with using another build system such as cmake. Any ideas?
I know that
genrule()
's could probably work in building the.kext
artifact but I think the major challenge is getting the Xcode frameworks and tooling to play nicely and ensuring that all the relevant compiler and linker flags (which I use here https://github.com/YungRaj/MacRootKit/blob/main/make_kext.mk) are included.Thanks