Open
Description
If you have a Mac and a compiler you can help!
This repo needs Lua built for Mac and M1 Mac.
This is how you download and build lua.
curl -L -R -O https://www.lua.org/ftp/lua-all.tar.gz
tar zxf lua-all.tar.gz
cd lua-all
make -j $(nproc) all
Each sub folder in lua-all will have a .dylib file associated inside of it resulting from the build.
This is how you download and build luajit.
git clone https://luajit.org/git/luajit.git
cd luajit
make -j $(nproc) all
Collect each minor versions highest patch number (5.4.6, 5.3.6, 5.2.4, 5.1.5) and rename the dylib appropriately (lua546.dylib, lua536.dylib, lua524.dylib, lua515.dylib) For luajit, retain the name of lua51.dylib.
Move these dylibs to runtimes/osx-x64/native
for non M1 chip. Move these dylibs to runtimes/osx-arm64/native
for the M1 chip. example About RIDs
Optional: use your expertise to also bring support for ios-arm64!