> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-detect-table-modification.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Guide for building ClickHouse from source for the LoongArch64 architecture

# Build on Linux for LoongArch64

ClickHouse has experimental support for LoongArch64

<h2 id="build-clickhouse">
  Build ClickHouse
</h2>

The llvm version required for building must be greater than or equal to 21.1.0.

```bash theme={null}
cd ClickHouse
mkdir build-loongarch64
cmake . -Bbuild-loongarch64 -DCMAKE_TOOLCHAIN_FILE=cmake/linux/toolchain-loongarch64.cmake
ninja -C build-loongarch64
```

The resulting binary will run only on Linux with the LoongArch64 CPU architecture.
