local optimizations = { tiny = "-Oz", size = "-Os", debug = "-Og", zero = "-O0", one = "-O1", two = "-O2", three = "-O3", } local debug = { release = "", debug = "-g", } local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} local builds = {} builds["libressl-meta"] = { image="image-mingw64", entrypoint="image", requires = {}, produces = {}, export=true, } local libressl="v4.0.0" -- pin a verson since master is unstable for opti_k, opti_v, rel_k, rel_v, comp_k, comp_v in cartesian(optimizations, debug, compilers) do builds["libressl-" .. opti_k .. "-" .. rel_k .. "-" .. comp_v] = { image="libressl-meta", requires = { {"git", "portable#" .. libressl}, {"git", "openbsd#libressl-" .. libressl} }, produces = { ["libssl.a"] = true, ["libtls.a"] = true, ["libbs.a"] = true, ["libcompat.a"] = true, ["libcompatnoopt.a"] = true, ["libcrypto.a"] = true, ["openssl.exe"] = true, ["include.tar.gz"] = true }, timeout = 600, --Jeez this takes forever env = { CFLAGS=" " .. opti_v .. " " .. rel_v, LIBRESSL_VERSION=libressl }, } end return builds