unify host programs across targets
This commit is contained in:
13
nixos.just
13
nixos.just
@ -158,7 +158,7 @@ build module="__help" target="fail" mode="aot":
|
||||
just build-wasm-aot {{ module }}
|
||||
just build-wasm-aot-array {{ module }}
|
||||
|
||||
just prepare-aot-host {{ module }} {{ target }}
|
||||
just prepare-aot-host {{ module }}
|
||||
just build-wasm-host {{ module }} {{ target }}
|
||||
|
||||
just build-system-startup {{ module }} {{ target }}
|
||||
@ -168,7 +168,7 @@ build module="__help" target="fail" mode="aot":
|
||||
just build-wasm-module {{ module }}
|
||||
just build-wasm-interp-array {{ module }}
|
||||
|
||||
just prepare-interp-host {{ module }} {{ target }}
|
||||
just prepare-interp-host {{ module }}
|
||||
just build-wasm-host {{ module }} {{ target }}
|
||||
|
||||
just build-system-startup {{ module }} {{ target }}
|
||||
@ -191,7 +191,14 @@ build module="__help" target="fail" mode="aot":
|
||||
[doc("Run binary")]
|
||||
[group("5: just do it")]
|
||||
run module:
|
||||
{{ BUILD_DIR }}-{{ module }}/system.elf
|
||||
@echo "Running {{ module }}:"
|
||||
@{{ BUILD_DIR }}-{{ module }}/system.elf
|
||||
|
||||
[arg("mode", pattern="c|aot|interp", help="Which WASM mode to use")]
|
||||
[arg("target", pattern="fail|linux|linux-baremetal", help="Which platform to compile for")]
|
||||
[doc("Perform all steps for a fail/linux/linux-bm build with aot/interp WASM")]
|
||||
[group("5: just do it")]
|
||||
build-run module="__help" target="fail" mode="aot": (build module target mode) (run module)
|
||||
|
||||
[doc("Send binaries to mars")]
|
||||
[group("5: just do it")]
|
||||
|
||||
Reference in New Issue
Block a user