-
Notifications
You must be signed in to change notification settings - Fork 0
/
devvm.sh
34 lines (29 loc) · 887 Bytes
/
devvm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
apt install \
cmake \
git \
gcc \
g++ \
doxygen \
graphviz \
tmux \
neovim \
gpg
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
cat > /etc/apt/sources.list.d/llvm.list <<EOF
# i386 not available
deb http://apt.llvm.org/disco/ llvm-toolchain-disco main
deb-src http://apt.llvm.org/disco/ llvm-toolchain-disco main
# 7
deb http://apt.llvm.org/disco/ llvm-toolchain-disco-7 main
deb-src http://apt.llvm.org/disco/ llvm-toolchain-disco-7 main
# 8
deb http://apt.llvm.org/disco/ llvm-toolchain-disco-8 main
deb-src http://apt.llvm.org/disco/ llvm-toolchain-disco-8 main
# 9
deb http://apt.llvm.org/disco/ llvm-toolchain-disco-9 main
deb-src http://apt.llvm.org/disco/ llvm-toolchain-disco-9 main
EOF
apt-get update
apt-get install -y clang-8 clangd-8 clang-format-8
apt-get install -y clang-9 clangd-9 clang-format-9