membphis commented on a change in pull request #3335:
URL: https://github.com/apache/apisix/pull/3335#discussion_r566865880
##########
File path: doc/zh-cn/install-dependencies.md
##########
@@ -34,6 +34,8 @@
- 如果你要想使用 Tengine 替代 OpenResty,请参考 [Install Tengine at
Ubuntu](../../.travis/linux_tengine_runner.sh)。
+- Apache APISIX 运行默认使用 OpenResty 1.19 内置的 Luajit(优先推荐)或 Lua 5.1。若运行过程中出现问题
`luajit: lj_asm_x86.h:2819: asm_loop_fixup: Assertion '((intptr_t)target & 15)
== 0' failed`,是因 OpenResty 版本兼容性问题,建议更换 OpenResty 版本为 1.19,请参考
[linux-install-openresty](../../utils/linux-install-openresty.sh)。
Review comment:
style: `OpenResty 1.19 内置的 Luajit` -> `OpenResty 1.19 内置的 LuaJIT `
##########
File path: doc/install-dependencies.md
##########
@@ -35,6 +35,8 @@
- If you want use Tengine instead of OpenResty, please take a look at this
installation step script [Install Tengine at
Ubuntu](../.travis/linux_tengine_runner.sh).
+- By default Apache APISIX runs with luajit of OpenResty 1.19 (priority) or
Lua 5.1. If you run in to an issue `luajit: lj_asm_x86.h:2819: asm_loop_fixup:
Assertion '((intptr_t)target & 15) == 0' failed`, it is caused by to the
compatibility of OpenResty version. OpenResty 1.19 is recommended, please take
a look at this installation step script
[linux-install-openresty](../utils/linux-install-openresty.sh).
Review comment:
`Apache APISIX runs with luajit ` -> `Apache APISIX runs with LuaJIT`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]