split compilation into wasm.just + add targets for interpreted wasm

This commit is contained in:
2026-03-12 21:13:06 +01:00
parent 28d1db3b79
commit 0f847d7d2d
3 changed files with 323 additions and 276 deletions

View File

@ -1,5 +1,5 @@
[doc("Trace a golden run using FAIL*")]
[group("fail")]
[group("4: fail")]
trace module:
{{ BOCHS_RUNNER }} \
-V {{ FAIL_SHARE }}/vgabios.bin \
@ -23,7 +23,7 @@ trace module:
# {{ FAIL_DUMP }} {{ BUILD_DIR }}-{{ module }}/trace.pb
[doc("Import a FAIL* golden run trace")]
[group("fail")]
[group("4: fail")]
import module:
{{ FAIL_IMPORT }} --database-option-file ./db.conf -t {{ BUILD_DIR }}-{{ module }}/trace.pb \
-i MemoryImporter \
@ -59,7 +59,7 @@ import module:
@echo "Next step: \"just server {{ module }}\""
[doc("Start the FAIL* campaign server")]
[group("fail")]
[group("4: fail")]
server module:
{{ FAIL_SERVER }} \
--port {{FAIL_SERVER_PORT}} \
@ -72,12 +72,12 @@ server module:
@echo "Next step: \"just client {{ module }}\""
[doc("Stop the FAIL* campaign server")]
[group("fail")]
[group("4: fail")]
stop-server:
pkill -f {{ FAIL_SERVER }}
[doc("Start a FAIL* campaign client")]
[group("fail")]
[group("4: fail")]
client module:
{{ BOCHS_RUNNER }} \
-V {{ FAIL_SHARE }}/vgabios.bin \
@ -97,7 +97,7 @@ client module:
@echo "Next step: \"just result {{ module }}\" or \"just resultbrowser\""
[doc("Query FAIL* marker statistics from the database")]
[group("fail")]
[group("4: fail")]
result module:
@echo "select variant, benchmark, resulttype, sum(t.time2 - t.time1 + 1) as faults \
FROM variant v \
@ -110,6 +110,6 @@ result module:
ORDER BY variant, benchmark, resulttype;" | mariadb --defaults-file=./db.conf -t
[doc("Start the FAIL* resultbrowser")]
[group("fail")]
[group("4: fail")]
resultbrowser:
{{ RESULT_BROWSER }} -c ./db.conf --host=0.0.0.0 --port={{RESULTBROWSER_PORT}}