mix popcorn.build_runtime (Popcorn v0.3.0)
View SourceUtility for building AtomVM from source
It outputs the artifacts in project_dir/popcorn_runtime_source/artifacts/<target>.
To use the built artifacts in Popcorn, configure it with
config :popcorn, runtime: {:path, "popcorn_runtime_source/artifacts/<target>", target: target}Options:
git- source repo URL (defaults to FissionVM repo)git-ref- branch, tag or commit (only works with thegitoption)path- path to repo source (can be used instead ofgit)target-wasm(default) orunixcmake-opts- string with space-separatedKEY=VALUEoptions that will be converted to-DKEY=VALUEcmake options
This is a thin wrapper around scripts/build-atomvm.sh.
Summary
Functions
Callback implementation for Mix.Task.run/1.
Functions
Callback implementation for Mix.Task.run/1.