Skip to content

Commit 940763e

Browse files
committed
merge
Signed-off-by: Nic <[email protected]>
2 parents cc88a87 + 247504b commit 940763e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build-api7ee-runtime.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ no_pool_patch=${no_pool_patch:-}
146146

147147
cd openresty-${OPENRESTY_VERSION} || exit 1
148148

149+
if [[ "$OPENRESTY_VERSION" == 1.21.4.4 ]] ; then
150+
# upgrade luajit
151+
rm -rf bundle/LuaJIT-2.1-20230410.1
152+
lj_ver=2.1-20240815
153+
wget "https://github.com/openresty/luajit2/archive/v$lj_ver.tar.gz" -O "LuaJIT-$lj_ver.tar.gz"
154+
tar -xzf LuaJIT-$lj_ver.tar.gz
155+
mv luajit2-* bundle/LuaJIT-$lj_ver
156+
fi
157+
149158
or_limit_ver=0.08
150159
if [ ! -d "bundle/lua-resty-limit-traffic-$or_limit_ver" ]; then
151160
echo "ERROR: the official repository of lua-resty-limit-traffic has been updated, please sync to API7's repository." >&2

0 commit comments

Comments
 (0)