forked from cylondata/twister2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_sys_dep_ubuntu.sh
More file actions
executable file
·22 lines (20 loc) · 665 Bytes
/
Copy pathinstall_sys_dep_ubuntu.sh
File metadata and controls
executable file
·22 lines (20 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
install() {
echo "Installing required tools for bazel..."
sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3 -y
echo "Installing required tools for twister2..."
sudo apt-get update
sudo apt-get install g++ git build-essential automake cmake libtool-bin zip libunwind-setjmp0-dev zlib1g-dev unzip pkg-config python-setuptools -y
sudo apt-get install python3-dev python3-pip -y
sudo pip3 install wheel
}
while true; do
read -p "Do you wish to install system dependencies? This process will require sudo. [y/n]" yn
case $yn in
[Yy]*)
install
break
;;
[Nn]*) exit ;;
*) echo "Please answer yes or no." ;;
esac
done