We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec720a4 commit 7c919b1Copy full SHA for 7c919b1
docs/linux-build.sh
@@ -0,0 +1,15 @@
1
+sudo apt update -y
2
+sudo apt install -y git python3 g++ cmake ninja-build
3
+
4
+# Replace llvmorg-18.1.8 with your desired version. Check the tags at https://github.com/llvm/llvm-project/tags
5
+git clone --depth 1 --branch llvmorg-18.1.8 https://github.com/llvm/llvm-project.git
6
+cd llvm-project
7
8
+cmake -S llvm -B build-linux-x64 -G Ninja \
9
+ -DLLVM_ENABLE_PROJECTS="clang" \
10
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
11
12
+ninja -C build clang-format
13
14
+# Check clang-format version
15
+build/bin/clang-format --version
0 commit comments