Rebuild LuaJIT and update LuaJIT build script.

* Clang for Windows is no longer required. Instead it requires GCC + multilib in the WSL distro.
* It will try to use Windows's installed LuaJIT, then fallback to WSL's LuaJIT. If none is found, an error will be thrown.
* Add luajit.h include file as byproducts.
This commit is contained in:
Miku AuahDark
2023-09-28 15:27:46 +08:00
parent 8bca5c43a6
commit 44ba332ebe
90 changed files with 2087 additions and 1776 deletions
+1 -2
View File
@@ -1,7 +1,7 @@
----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2022 Mike Pall. All rights reserved.
-- Copyright (C) 2005-2023 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
@@ -55,7 +55,6 @@
-- Cache some library functions and objects.
local jit = require("jit")
assert(jit.version_num == 20100, "LuaJIT core/library version mismatch")
local jutil = require("jit.util")
local vmdef = require("jit.vmdef")
local funcinfo, funcbc = jutil.funcinfo, jutil.funcbc