Co-authored-by: modav <modav@microsoft.com>
This commit is contained in:
Moshe David 2020-05-26 00:28:09 +03:00 committed by GitHub
parent 94dd082199
commit acad2e01e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

10
install_dependencies.sh Normal file → Executable file
View File

@ -22,6 +22,13 @@ yes_or_no() {
# install dependencies
if [ -f /etc/lsb-release ]; then
# Ubuntu
host_cpu=$(uname -m)
if [ $host_cpu = x86_64 ]; then
x86_64_specific_packages="gcc-multilib g++-multilib"
else
x86_64_specific_packages=""
fi
sudo -E apt update
sudo -E apt-get install -y \
build-essential \
@ -32,8 +39,7 @@ if [ -f /etc/lsb-release ]; then
ca-certificates \
git \
libboost-regex-dev \
gcc-multilib \
g++-multilib \
$x86_64_specific_packages \
libgtk2.0-dev \
pkg-config \
unzip \