Open
Description
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
Metadata
Assignees
Labels
No labels
Activity