Open SuperBo opened 4 months ago
I installed luarocks by asdf with this plugin on my Mac M1. However, the installed luarocks doesn't have correct architecture:
$ luarocks config accept_unknown_fields = false arch = "macosx-x86_64" cache = { luajit_version_checked = true } cache_fail_timeout = 86400 cache_timeout = 60 check_certificates = false cmake_generator = "Unix Makefiles" config_files = { nearest = "/Users/superbo/.asdf/installs/lua/5.1.5/luarocks/etc/luarocks/config-5.1.lua", system = { file = "/Users/superbo/.asdf/installs/lua/5.1.5/luarocks/etc/luarocks/config-5.1.lua", found = true }, user = { file = "/Users/superbo/.luarocks/config-5.1.lua", found = false } } ...
I think you need to set LUAROCKS_UNAME_M when configure luarock. https://github.com/luarocks/luarocks/issues/258
LUAROCKS_UNAME_M
I installed luarocks by asdf with this plugin on my Mac M1. However, the installed luarocks doesn't have correct architecture:
I think you need to set
LUAROCKS_UNAME_M
when configure luarock. https://github.com/luarocks/luarocks/issues/258