summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-09-17 00:30:14 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-09-17 00:30:14 -0500
commitddda92602822527a60d0b050662ef35303d0ec54 (patch)
tree960b627e15f35369385effad7ba9d061852f6345
parent3b02323e6fa69201203ac62e4524013f91ddb17d (diff)
downloadportable-packaging-ddda92602822527a60d0b050662ef35303d0ec54.tar.gz
portable-packaging-ddda92602822527a60d0b050662ef35303d0ec54.tar.bz2
portable-packaging-ddda92602822527a60d0b050662ef35303d0ec54.zip
Add more builds with different flags
-rw-r--r--meta.lua50
1 files changed, 34 insertions, 16 deletions
diff --git a/meta.lua b/meta.lua
index 171926f..4d2a94d 100644
--- a/meta.lua
+++ b/meta.lua
@@ -1,4 +1,17 @@
1 1local optimizations = {
2 tiny = "-Oz",
3 size = "-Os",
4 debug = "-Og",
5 zero = "-O0",
6 one = "-O1",
7 two = "-O2",
8 three = "-O3",
9}
10local debug = {
11 release = "",
12 debug = "-g",
13}
14local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]}
2local builds = {} 15local builds = {}
3builds["libressl-meta"] = { 16builds["libressl-meta"] = {
4 image="image-mingw64", 17 image="image-mingw64",
@@ -7,19 +20,24 @@ builds["libressl-meta"] = {
7 produces = {}, 20 produces = {},
8 export=true, 21 export=true,
9} 22}
10builds["libressl-mingw64"] = { 23for opti_k, opti_v, rel_k, rel_v, comp_k, comp_v in cartesian(optimizations, debug, compilers) do
11 image="libressl-meta", 24 builds["libressl-" .. opti_k .. "-" .. rel_k .. "-" .. comp_k] = {
12 requires = { 25 image="libressl-meta",
13 {"git", "portable"}, 26 requires = {
14 }, 27 {"git", "portable"},
15 produces = { 28 },
16 ["libssl.a"] = true, 29 produces = {
17 ["libtls.a"] = true, 30 ["libssl.a"] = true,
18 ["libbs.a"] = true, 31 ["libtls.a"] = true,
19 ["libcompat.a"] = true, 32 ["libbs.a"] = true,
20 ["libcompatnoopt.a"] = true, 33 ["libcompat.a"] = true,
21 ["libcrypto.a"] = true, 34 ["libcompatnoopt.a"] = true,
22 }, 35 ["libcrypto.a"] = true,
23 timeout = 600, --Jeez this takes forever 36 },
24} 37 timeout = 600, --Jeez this takes forever
38 env = {
39 CFLAGS=" " .. opti_v .. " " .. rel_v
40 },
41 }
42end
25return builds 43return builds