Mojo · Installation

Installation

4.0.0-rc.1 · 3ee5e534

Let Pixi build the package from source, with no channel to add and no linker flag to pass; the engine arrives as its run dependency, in the environment prefix mojo build bakes as runpath.

[workspace]
preview = ["pixi-build"]

[dependencies]
uform_mojo = { git = "https://github.com/unum-cloud/UForm", subdirectory = "mojo", tag = "v4.0.0-rc.1" }

From a checkout, pixi run test builds the engine through the tree’s own CMake, with the host codecs from conda-forge, and runs mojo/test.mojo against it. The model checks need a checkpoint: uform_tiny_checkpoint <path> writes a tiny one, and UFORM_TEST_CHECKPOINT=<path> pixi run test runs them; without it they are skipped. On Linux the environment pins a glibc 2.34 sysroot, which the MAX runtime mojo build links against needs.