diff options
| author | Carlo Cabrera <30379873+carlocab@users.noreply.github.com> | 2022-06-24 23:34:57 +0800 |
|---|---|---|
| committer | Carlo Cabrera <30379873+carlocab@users.noreply.github.com> | 2022-06-24 23:34:57 +0800 |
| commit | adcaf24f422d4a4988f18d738acb843e51ba643e (patch) | |
| tree | 022486ac4767677939ec5ec86775e17e8f30accc /runtime/compiler/fortran_cv.vim | |
| parent | 12c62ddea64159f812682d6cccdb3bf0ff50d035 (diff) | |
| download | rneovim-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 'runtime/compiler/fortran_cv.vim')
0 files changed, 0 insertions, 0 deletions
