lua: disable JIT engine on macOS by default
To improve customer experience it was decided to disable JIT engine on Tarantool startup for macOS builds. Either way, JIT will be aboard as a result of the changes and more adventurous users will be able to enable it via <jit.on> in their code. Furthermore, for convenient maintenance of JIT default behaviour CMake configuration option "LUAJIT_JIT_STATUS" is introduced. Closes #8252 NO_DOC=no behaviour changes
Showing
- CMakeLists.txt 9 additions, 0 deletionsCMakeLists.txt
- changelogs/unreleased/gh-8252-disable-jit-on-macOS-by-default.md 6 additions, 0 deletions...ogs/unreleased/gh-8252-disable-jit-on-macOS-by-default.md
- src/lua/init.c 3 additions, 0 deletionssrc/lua/init.c
- src/trivia/config.h.cmake 4 additions, 0 deletionssrc/trivia/config.h.cmake
- test/app-luatest/gh_1700_abort_recording_on_fiber_switch_test.lua 1 addition, 0 deletions...-luatest/gh_1700_abort_recording_on_fiber_switch_test.lua
- test/app-luatest/gh_5983_jit_library_smoke_tests_test.lua 1 addition, 0 deletionstest/app-luatest/gh_5983_jit_library_smoke_tests_test.lua
- test/app-luatest/gh_7762_luajit_enable_checkhook_test.lua 1 addition, 0 deletionstest/app-luatest/gh_7762_luajit_enable_checkhook_test.lua
- test/app-luatest/gh_8252_jit_off_on_macOS_by_default_test.lua 8 additions, 0 deletions.../app-luatest/gh_8252_jit_off_on_macOS_by_default_test.lua
Loading