-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh
31 lines (31 loc) · 965 Bytes
/
config.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
#!/usr/bin/bash
apt-get update
apt-get install sudo
sudo apt-get install -y zip
sudo apt-get install -y python3
sudo apt-get install -y emacs
sudo apt-get install -y g++ gcc flex bison make git curl patch
sudo apt-get install -y gcc-multilib
sudo apt-get install -y sqlite3
sudo apt-get install -y bc
sudo apt install -y python3-pip
sudo pip3 install --break-system-packages python-sat
sudo pip3 install --break-system-packages numpy
sudo pip3 install --break-system-packages pycparser
sudo pip3 install --break-system-packages matplotlib
sudo pip3 install --break-system-packages pandas
# sudo pip3 install --break-system-packages sqlite3
sudo pip3 install --break-system-packages SQLite3-0611
unzip CFaults-fm2024.zip
mv CFaults/* .
rm -rf CFaults
unzip cbmc.zip
cd cbmc
make -C src minisat2-download
make -C src
cd ..
unzip runsolver.zip
unzip mkplot.zip
unzip tcas.zip
unzip C-Pack-IPAs.zip
./CFaults.sh -i examples/fm2024_example.c -o o -nu 3 -e lab02/ex01 -v