One of the few ways to build a universal macOS app.
I noted that nearly all installs from Lua were x64 based on macOS. The problem with this is any app that lua then launches also takes the x64 portion even if it's a universal application. I have a texture processing tool called kram that gets called from Lua, but I want to run the Apple Silicon portion.
The reason lua/luac are x64 is that lua.org uses a Makefile which defaults to gcc, and gcc only supports x64 and not Intel. Your CMake files were so much simpler to read and work with, and the CLI to build a universal app was this. And it took a spilt second to build. Just wanted to say thanks for your work on this.
cd build cmake .. -GNinja -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" ninja
Thank you for your comment. I am leaving this open as an issue until I get time to add a build tests for universal macOS binary.
Looks like testing is blocked by https://github.com/github/roadmap/issues/528
Looks like testing is blocked by github/roadmap#528
Randomly just noticed this was solved 4 days ago