neovim/third-party
Carlo Cabrera adcaf24f42
build(luajit): support universal builds on macOS
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
2022-06-24 23:34:57 +08:00
..
cmake build(luajit): support universal builds on macOS 2022-06-24 23:34:57 +08:00
patches build(deps): bump libuv to 1.44.0 (#17613) 2022-03-07 22:49:35 +01:00
CMakeLists.txt build: remove CMAKE_CROSSCOMPILING code #18914 2022-06-12 15:11:14 -07:00