Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSX/iOS: Handle iOS simulator and ARM64 Macs.
(cherry picked from commit 2e2fb8f) After Apple released Macs working on ARM64, the previous recipe in lj_arch.h for detecting various Apple platforms is not valid anymore. Fortunately, there is a system header (namely, TargetConditionals.h), provided by SDK with the proper defines to be set. Starting from this patch, LuaJIT identifies Apple hosts via this header. Since testing machinery assumes that LuaJIT is built with JIT support being enabled unconditionally, a smoke test for it is also added alongside with this patch. Igor Munkin: * added the description and the test for the problem * backported the original patch to tarantool/luajit repo Resolves tarantool/tarantool#6065 Part of tarantool/tarantool#5629 Relates to tarantool/tarantool#5983 Reviewed-by: Sergey Kaplun <[email protected]> Reviewed-by: Sergey Ostanevich <[email protected]> Signed-off-by: Igor Munkin <[email protected]>
- Loading branch information