Fix install dependencies scripts file bug (#5511)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/5483/head^2
quicksilver 2021-05-31 16:33:30 +08:00 committed by GitHub
parent e412cb14c7
commit 9e91860ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
#!/usr/bin/env bash
if [[ ! -x "$(command -v apt)" ]]; then
if [[ -x "$(command -v apt)" ]]; then
sudo apt install -y g++ gcc make libssl-dev zlib1g-dev libboost-regex-dev \
libboost-program-options-dev libboost-system-dev libboost-filesystem-dev \
libboost-serialization-dev python3-dev libboost-python-dev libcurl4-openssl-dev gfortran libtbb-dev
elif [[ ! -x "$(command -v yum)" ]]; then
elif [[ -x "$(command -v yum)" ]]; then
sudo yum install -y epel-release centos-release-scl-rh \
&& sudo yum install -y make automake openssl-devel zlib-devel tbb-devel \
libcurl-devel python3-devel boost-devel boost-python \