- Documentation
- Getting started
- Installation
Installation
Building from source
Section titled “Building from source”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=Nativecmake --build llvm-project/build --target clang clangToolingcmake -S . -B build -DCMAKE_BUILD_TYPE=Releasecmake --build build --target fluxCheck the result:
build/flux --versionbuild/flux --list-boardsThe rest of this documentation writes flux for the compiler. From a source build, that is build/flux.
When releases exist
Section titled “When releases exist”Files, checksums and requirements will be listed on the download page.