summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-07-31 19:15:05 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-07-31 19:15:05 -0500
commit1b18f4d67e3dcd0dbb63613aad19e2c08809cb20 (patch)
tree7277dec97ee62f22b206000484ae7332fb104992
parent3ed0bcae8b6ca938a9c9fd8bb445d13672595eac (diff)
downloadlua-packaging-1b18f4d67e3dcd0dbb63613aad19e2c08809cb20.tar.gz
lua-packaging-1b18f4d67e3dcd0dbb63613aad19e2c08809cb20.tar.bz2
lua-packaging-1b18f4d67e3dcd0dbb63613aad19e2c08809cb20.zip
Added a bunch of builds for lua
-rw-r--r--meta.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta.lua b/meta.lua
index 6cc9e93..0a09b43 100644
--- a/meta.lua
+++ b/meta.lua
@@ -1,25 +1,19 @@
1local lua_versions = { 1local lua_versions = {
2 ["51"] = "https://www.lua.org/ftp/lua-5.1.5.tar.gz", 2 ["51"] = "https://www.lua.org/ftp/lua-5.1.5.tar.gz",
3 --[[
4 ["52"] = "https://www.lua.org/ftp/lua-5.2.4.tar.gz", 3 ["52"] = "https://www.lua.org/ftp/lua-5.2.4.tar.gz",
5 ["53"] = "https://www.lua.org/ftp/lua-5.3.6.tar.gz", 4 ["53"] = "https://www.lua.org/ftp/lua-5.3.6.tar.gz",
6 ["54"] = "https://www.lua.org/ftp/lua-5.4.7.tar.gz", 5 ["54"] = "https://www.lua.org/ftp/lua-5.4.7.tar.gz",
7 ]]
8} 6}
9local optimizations = { 7local optimizations = {
10 size = "-Os", 8 size = "-Os",
11 --[[
12 zero = "-O0", 9 zero = "-O0",
13 one = "-O1", 10 one = "-O1",
14 two = "-O2", 11 two = "-O2",
15 three = "-O3", 12 three = "-O3",
16 ]]
17} 13}
18local debug = { 14local debug = {
19 release = "", 15 release = "",
20 --[[
21 debug = "-g", 16 debug = "-g",
22 ]]
23} 17}
24local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} 18local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]}
25-- We can't actually use the git version from github, it's missing luac.c, which is needed to build the luac executable. 19-- We can't actually use the git version from github, it's missing luac.c, which is needed to build the luac executable.
@@ -29,7 +23,7 @@ local builds = {}
29for version, link, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do 23for version, link, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do
30 table.insert(builds,{ 24 table.insert(builds,{
31 image = "image-" .. image, 25 image = "image-" .. image,
32 name = "lua" .. version .. optimization .. "-" .. rel .. "-" .. name .. "-" .. image, 26 name = "lua" .. version .. "-" .. name .. "-" .. rel .. "-" .. image,
33 requires = { 27 requires = {
34 {"http", link}, 28 {"http", link},
35 }, 29 },