Install
Chelis is developed from the repository today. Downstream users normally need the
chelis CLI on PATH; shell authors also need Reef package commands.
Rust toolchain
Section titled “Rust toolchain”Chelis is built with stable Rust:
rustup default stablerustup component add rustfmt clippyC toolchain
Section titled “C toolchain”The C backend expects a native compiler and a BLAS provider for matmul fast paths.
Fedora / RHEL:
sudo dnf install gcc openblas-devel valgrindUbuntu / Debian:
sudo apt-get install gcc libopenblas-dev valgrindmacOS:
xcode-select --installSupported macOS paths:
- Default: Apple clang plus Accelerate. This is the supported correctness path on Apple Silicon and does not require Homebrew OpenBLAS.
- Optional: Homebrew GCC for OpenMP-enabled CPU loops.
brew install gccBuild and test the repo
Section titled “Build and test the repo”From a Chelis checkout:
cargo build --workspace --all-targetscargo test --workspacecargo clippy --workspace --all-targets -- -D warningscargo fmt --all -- --checkDuring normal downstream work, you rarely need the whole gate above. Use it when you are checking a local compiler build or preparing a change to Chelis itself.
Build the CLI
Section titled “Build the CLI”cargo build -p chelis-cliexport PATH="$PWD/target/debug:$PATH"chelis --helpIf you install a release build instead, make sure chelis --help works before starting
the first program loop.
Build the book
Section titled “Build the book”mdbook build docs/bookValidate docs examples
Section titled “Validate docs examples”cargo test -p chelis-e2e --test skill_suiteThat test validates the checked chelis-surf and chelis-deep fences used as teaching
examples. Fragment fences are intentionally illustrative only.