mix ehls.setup (Elixir HLS v0.1.0)

Copy Markdown View Source

Sets up, once for the machine, what the target's builds need and the dependencies do not bring as they are (on the Tang Primer 25K the base atomvm-tang25k: its LiteX, AtomVM and host tools, some tens of minutes):

mix ehls.setup
mix ehls.setup --force            # again, from the start

What is set up is kept in the user's cache (EHLS.Machine.cache_dir/0), one per version of what it is made from, so the applications of the machine share it and mix deps.get leaves it alone. Then mix ehls.doctor checks the rest and mix ehls.build builds.