diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-07-31 19:15:05 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-07-31 19:15:05 -0500 |
commit | 1b18f4d67e3dcd0dbb63613aad19e2c08809cb20 (patch) | |
tree | 7277dec97ee62f22b206000484ae7332fb104992 | |
parent | 3ed0bcae8b6ca938a9c9fd8bb445d13672595eac (diff) | |
download | lua-packaging-1b18f4d67e3dcd0dbb63613aad19e2c08809cb20.tar.gz lua-packaging-1b18f4d67e3dcd0dbb63613aad19e2c08809cb20.tar.bz2 lua-packaging-1b18f4d67e3dcd0dbb63613aad19e2c08809cb20.zip |
Added a bunch of builds for lua
-rw-r--r-- | meta.lua | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,25 +1,19 @@ | |||
1 | local lua_versions = { | 1 | local 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 | } |
9 | local optimizations = { | 7 | local 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 | } |
18 | local debug = { | 14 | local debug = { |
19 | release = "", | 15 | release = "", |
20 | --[[ | ||
21 | debug = "-g", | 16 | debug = "-g", |
22 | ]] | ||
23 | } | 17 | } |
24 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} | 18 | local 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 = {} | |||
29 | for version, link, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do | 23 | for 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 | }, |