From 037fedd6550f79cd37182d5f342d42bd401f7021 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 5 Sep 2024 00:44:34 +0300 Subject: [PATCH] try to fix workflow luajit --- contrib/build-release.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/contrib/build-release.sh b/contrib/build-release.sh index 02fbf6e..637d7a2 100755 --- a/contrib/build-release.sh +++ b/contrib/build-release.sh @@ -25,11 +25,15 @@ if [ ! -f external/.stamp_SDL2 ]; then fi if [ ! -f external/.stamp_luajit ]; then - test -f LuaJIT-${luajit_ver}.tar.gz || wget https://luajit.org/download/LuaJIT-${luajit_ver}.tar.gz +# test -f LuaJIT-${luajit_ver}.tar.gz || wget https://luajit.org/download/LuaJIT-${luajit_ver}.tar.gz rm -rf LuaJIT-${luajit_ver} - tar xf LuaJIT-${luajit_ver}.tar.gz + git clone https://luajit.org/git/luajit.git LuaJIT-${luajit_ver} cd LuaJIT-${luajit_ver} + git checkout "v"${luajit_ver} + +# tar xf LuaJIT-${luajit_ver}.tar.gz +# cd LuaJIT-${luajit_ver} make DEFAULT_CC="gcc" BUILDMODE=static V=1 cp src/libluajit.a ../external/lib/ for f in lua.h luaconf.h lualib.h lauxlib.h; do