-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
executable file
·52 lines (30 loc) · 1.12 KB
/
init.sh
File metadata and controls
executable file
·52 lines (30 loc) · 1.12 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env bash
set -xe
pushd $HOME
apt update
apt install -y openssh-server
apt install -y git
apt install -y curl wget gzip
apt install -y binutils
apt install -y zlib1g-dev
apt install -y lsb-release wget software-properties-common gnupg
yes "" | add-apt-repository ppa:ubuntu-toolchain-r/test
apt install -y libboost-dev
apt install -y libboost-program-options-dev
apt install -y binutils python3-toolz python3-matplotlib
apt install -y libboost-dev build-essential
apt install -y gcc-13 g++-13 ninja-build pkg-config
apt install -y libgtest-dev libgflags-dev vim
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 16
wget https://cmake.org/files/v3.29/cmake-3.29.8-linux-x86_64.tar.gz
tar -zxvf cmake-3.29.8-linux-x86_64.tar.gz
export PATH=$HOME/cmake-3.29.8-linux-x86_64/bin:$PATH
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100
# export CC=/usr/bin/gcc-13
# export CXX=/usr/bin/g++-13
# ./fw/scripts/table2_env.sh
popd