Skip to content

Installation

If you have access to the source tree, build the matching Clang first, then Flux. Run these from the repository root.

cmake -S llvm-project/llvm -B llvm-project/build -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=Native
cmake --build llvm-project/build --target clang clangTooling
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target flux

Check the result:

build/flux --version
build/flux --list-boards

The rest of this documentation writes flux for the compiler. From a source build, that is build/flux.

Files, checksums and requirements will be listed on the download page.