We provide a Docker container with the Valida LLVM and Rust toolchains already installed. Docker is the only supported method of running on platforms other than x86 Linux.
Installation and usage: x86_64 platforms
# Download the container
docker pull ghcr.io/lita-xyz/llvm-valida-releases/valida-build-container:v0.7.0-alpha-amd64
cd your-valida-project
# Enter the container:
docker run --platform linux/amd64 --entrypoint=/bin/bash -it --rm -v $(realpath .):/src ghcr.io/lita-xyz/llvm-valida-releases/valida-build-container:v0.7.0-alpha-amd64
# You are now in a shell with the valida rust toolchain installed!
Installation and usage: ARM64 platforms
# Download the container
docker pull ghcr.io/lita-xyz/llvm-valida-releases/valida-build-container:v0.7.0-alpha-arm64
cd your-valida-project
# Enter the container:
docker run --platform linux/arm64 --entrypoint=/bin/bash -it --rm -v $(realpath .):/src ghcr.io/lita-xyz/llvm-valida-releases/valida-build-container:v0.7.0-alpha-arm64
# You are now in a shell with the valida rust toolchain installed!
System Requirements (non-Docker)
This toolchain supports x86-64 Linux based on glibc-2.9 or newer glibc.
Arch Linux and Ubuntu 24.04 LTS are specifically supported, with other platforms possibly requiring some tinkering to make work.
Installation Instructions (non-Docker)
Download the release bundle, untar it, and run the installation script as root:
wget https://github.com/lita-xyz/llvm-valida-releases/releases/download/v0.7.0-alpha/llvm-valida-v0.7.0-alpha-linux-x86_64.tar.xz
tar xf llvm-valida-v0.7.0-alpha-linux-x86_64.tar.gz
cd valida-toolchain
sudo ./install.sh