Closed ttytm closed 2 weeks ago
What we could try is using the Zig builds. It could further simplify building and Zig is usually better in handling C than C 😅
It would leave out TLS builds when cross-compiling to Linux arm due to openssl
I see, let's try install it first.
Maybe just add it when github adds its arm runners compile on arm native?
I guess now it's a private beta, and the plan is to make it public this year...
What we could try is using the Zig builds
I don't mind using Zig to generate pre-built binaries, but many contributors know Makefile/CI scripts and not Zig.
Zig is usually better in handling C than C
I don't know, I'm not sure 🙂
I don't mind using Zig to generate pre-built binaries, but many contributors know Makefile/CI scripts and not Zig.
Yes we should definitely keep and continue to support and test this build path. Also not making Zig a requirement to build WebUI.
What I meant was just for building and cross compiling the binaries in CI runs that will be uploaded as releases.
Zig gets a bit of a reputation of being the better C. Even when just using C from Zig. It appears this is somehow becoming a meme on the internet atm..
Looking into it, its achievements are quite impressive. More companies start using Zig to do cross-compilation. I'm getting a bit of a fanboy too :D. So I would definitely experiment with it.
Maybe just add it when github adds its arm runners compile on arm native?
Just to let you know, Linux ARM is ready to use, you can try it by creating a new linux_arm.yml
and run it on buildjet-2vcpu-ubuntu-2204-arm
.
Looking into it, its achievements are quite impressive
I have not yet fully tested Zig, but from public reviews, it seems people who have tested it are liking it so far, especially for compilation scripts.
It would leave out TLS builds when cross-compiling to Linux arm due to openssl.
Maybe just add it when github adds its arm runners compile on arm native?