diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-09-13 12:53:22 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-13 12:53:22 -0500 |
commit | ea7cce8855817854ed67678fa31d499d9bb02b64 (patch) | |
tree | 3f2f0e0d663ff0542c15a0c1a35f278e70a9df58 | |
parent | 97f7f4e03cc43143ed6b1e7915f0d6bf15cad351 (diff) | |
download | luajit-packaging-ea7cce8855817854ed67678fa31d499d9bb02b64.tar.gz luajit-packaging-ea7cce8855817854ed67678fa31d499d9bb02b64.tar.bz2 luajit-packaging-ea7cce8855817854ed67678fa31d499d9bb02b64.zip |
Actually build and export everything
-rwxr-xr-x | init | 1 | ||||
-rw-r--r-- | meta.lua | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -5,6 +5,7 @@ cp buildvm luajit/src/host | |||
5 | echo "lua4win" > luajit_relver.txt | 5 | echo "lua4win" > luajit_relver.txt |
6 | cd "luajit" | 6 | cd "luajit" |
7 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=dynamic TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm | 7 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=dynamic TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm |
8 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=static TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm | ||
8 | cd "/root/" | 9 | cd "/root/" |
9 | cp luajit/src/*.exe . | 10 | cp luajit/src/*.exe . |
10 | cp luajit/src/*.dll . | 11 | cp luajit/src/*.dll . |
@@ -37,10 +37,10 @@ for name, optimization, rel, flag, _, image in cartesian(optimizations, debug, c | |||
37 | {"cicd", "luajit-meta:buildvm"}, | 37 | {"cicd", "luajit-meta:buildvm"}, |
38 | }, | 38 | }, |
39 | produces = { | 39 | produces = { |
40 | ["lua.exe"] = true, | 40 | ["luajit.exe"] = true, |
41 | ["lua51.dll"] = true, | 41 | ["lua51.dll"] = true, |
42 | ["liblua.a"] = true, | 42 | ["libluajit-5.1.dll.a"] = true, |
43 | ["luac.exe"] = true, | 43 | ["libluajit.a"] = true, |
44 | }, | 44 | }, |
45 | env = { | 45 | env = { |
46 | CFLAGS = optimization .. " " .. flag, | 46 | CFLAGS = optimization .. " " .. flag, |