mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
adcaf24f42
To build universal binaries on macOS, one typically only needs to pass multiple `-arch` flags to `clang`. Unfortunately, this strategy causes LuaJIT builds to fail. To work around this, we build LuaJIT for each requested architecture individually first and then use `lipo` to package each architecture slice into a universal binary. To be able to do this on an Intel macOS host or an M1 macOS host without a Rosetta installation, we need some special flags in order to tell LuaJIT that it is cross-compiling for a different target. See [1] for details. [1] https://luajit.org/install.html#cross |
||
---|---|---|
.. | ||
cmake | ||
patches | ||
CMakeLists.txt |