Commit f43760d8 authored by Sergey Gorbunov's avatar Sergey Gorbunov
Browse files

add howto install clang-format-11

parent 84afa77c
......@@ -147,3 +147,21 @@ cmake ../cbmroot
make -j
source /home/cbmdock/build/config.sh
== Install clang-format-11 ==
Instructions from: https://stackoverflow.com/questions/66223241/how-to-install-clang-11-on-debian
sudo printf "\
\n deb http://apt.llvm.org/buster/ llvm-toolchain-buster main \
\n deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster main \
\n deb http://apt.llvm.org/buster/ llvm-toolchain-buster-10 main \
\n deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster-10 main \
\n deb http://apt.llvm.org/buster/ llvm-toolchain-buster-11 main \
\n deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster-11 main \
" >> /etc/apt/sources.list
sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update; sudo apt-get install clang-format-11
sudo ln -s /usr/bin/clang-format-11 /usr/bin/clang-format
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment