aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/api_functions_spec.lua
diff options
context:
space:
mode:
authorCarlo Cabrera <30379873+carlocab@users.noreply.github.com>2022-06-24 23:34:57 +0800
committerCarlo Cabrera <30379873+carlocab@users.noreply.github.com>2022-06-24 23:34:57 +0800
commitadcaf24f422d4a4988f18d738acb843e51ba643e (patch)
tree022486ac4767677939ec5ec86775e17e8f30accc /test/functional/vimscript/api_functions_spec.lua
parent12c62ddea64159f812682d6cccdb3bf0ff50d035 (diff)
downloadrneovim-adcaf24f422d4a4988f18d738acb843e51ba643e.tar.gz
rneovim-adcaf24f422d4a4988f18d738acb843e51ba643e.tar.bz2
rneovim-adcaf24f422d4a4988f18d738acb843e51ba643e.zip
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
Diffstat (limited to 'test/functional/vimscript/api_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions