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 + 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.