-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpp.sh
35 lines (33 loc) · 809 Bytes
/
cpp.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
32
33
34
35
#!/bin/bash
set -x
set -e
sudo apt update && sudo apt upgrade -y
# Clang
sudo apt install -y -q \
clang \
clang-format \
clang-tidy \
clang-tools \
clangd \
libc++-dev \
libc++1 \
libc++abi-dev \
libc++abi1 \
libclang-dev \
libclang1 \
liblldb-dev \
libllvm-ocaml-dev \
libomp-dev \
libomp5 \
lld \
lldb \
llvm-dev \
llvm-runtime \
llvm \
python3-clang
# cmake
sudo apt install -y -q \
cmake \
cmake-doc \
ninja-build \
cmake-format