The install asks which package version (mvx#212)
Bundled packages are no longer pinned in the build. The install offers each
package's latest stable release, the newest newer release at each less-stable
level, and dev; takes the latest stable when nobody is at the terminal; and
MVX_PACKAGE_VERSION_<pkg> pins an exact version. Also corrects the platform
note: mvpkg now publishes an arm64 build as well.
packages: git comes with the toolchain, and JSON is no longer a package
Two changes in mvx left the wiki describing a layout that no longer exists.
mvx#169 removed the package submodules and built the JSON codec into the
runtime. So `packages/git' and `packages/json' are not paths any more, and
JSONENCODE/JSONDECODE are not a package: they are compiled into libmvxrt, need
no configuration, and `-DMVX_JSON=OFF' is not an option the build has.
MVX_PACKAGES defaults to `http' alone, not `json' or `json;http'.
mvx#198 filled the gap that left behind. git had gone from the tree without
arriving anywhere else, so an installed mvx had no GIT at all. `cmake --install'
now downloads the published MVPKG and git packages -- prebuilt, at pinned
versions, each checked against the checksum published beside it -- putting their
verbs and libraries in the system account and their commands in <prefix>/bin.
What each page was saying:
getting-started the install table listed neither mvx-git nor the packages
packages MVX_PACKAGES "defaults to json"; the JSON codec offered as
the reference package; "a real install WOULD copy bin/
commands into a system bin directory", which it now does
intrinsics JSONENCODE/JSONDECODE "provided by the json package"
files "-DMVX_JSON=OFF leaves it out"
git mvx-git "built ... into packages/git/bin/"
Two uses of the word submodule are deliberately untouched, being a different
thing entirely: an ACCOUNT carrying a git submodule (git.md), and the main repo
checking this wiki out under docs/ (tooling.md).
The Linux-x86-64-only caveat is stated where a reader meets it, because the
install warns and carries on rather than failing: on any other platform the
toolchain installs without the packages, and a reader who is not told that finds
a missing GIT and nothing explaining it.
packages: document the native BUILD-PKG verb
packages: document the ? optional-dependency marker
Document the http extension package (HTTPGET/HTTPGETFILE)
Docs: package language extensions (ext ABI, EXPORTS/NATIVE, systems, MVX_PACKAGES); JSON is a package
Import documentation from the mvx repo
Migrate the mdBook pages (docs/src) into the wiki: every chapter as a
top-level page, the introduction as Home, a _Sidebar for navigation, and
inter-page links rewritten to wiki page names.