Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sergey Gorbunov
CbmTools
Commits
f43760d8
Commit
f43760d8
authored
Jul 11, 2021
by
Sergey Gorbunov
Browse files
add howto install clang-format-11
parent
84afa77c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
cbmdock/README.md
cbmdock/README.md
+18
-0
No files found.
cbmdock/README.md
View file @
f43760d8
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment