Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Remove unnecessary denpendancies for DiskANN (#470)
Browse files Browse the repository at this point in the history
Signed-off-by: liliu-z <[email protected]>

Signed-off-by: liliu-z <[email protected]>
  • Loading branch information
liliu-z authored Sep 16, 2022
1 parent 3501024 commit 88c183e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/docker/ubuntu/scripts/deps/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CMAKE_VERSION="v3.23"
apt-get update && apt-get install -y --no-install-recommends wget curl g++ gcc ca-certificates \
gpg make ccache python3-dev gfortran python3-setuptools swig pip \
libaio-dev libgoogle-perftools-dev clang-format libboost-program-options-dev \
libaio-dev libboost-program-options-dev \
&& wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
2>/dev/null | gpg --dearmor - | tee \
/usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null \
Expand Down
2 changes: 1 addition & 1 deletion ci/docker/ubuntu/scripts/deps/debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CMAKE_TAR="cmake-3.23.0-linux-x86_64.tar.gz"
HDF_VERSION="1.13.2"
apt-get update && apt-get install -y --no-install-recommends wget curl g++ gcc ca-certificates \
make ccache python3-dev gfortran python3-setuptools swig libopenblas-dev pip git vim \
libaio-dev libgoogle-perftools-dev clang-format libboost-all-dev \
libaio-dev libboost-all-dev \
&& apt-get remove --purge -y \
&& rm -rf /var/lib/apt/lists/* \
&& wget https://github.com/xianyi/OpenBLAS/archive/v0.3.21.tar.gz && \
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if [[ "${MACHINE}" == "Linux" ]]; then
fi
#DiskANN dependencies
sudo apt-get install -y libboost-program-options-dev
sudo apt-get install -y libaio-dev libgoogle-perftools-dev clang-format
sudo apt-get install -y libaio-dev
elif [[ -x "$(command -v yum)" ]]; then
# for CentOS 7
sudo yum install -y epel-release centos-release-scl-rh wget && \
Expand All @@ -93,7 +93,7 @@ if [[ "${MACHINE}" == "Linux" ]]; then
source "/etc/profile.d/llvm-toolset-7.sh"
#DiskANN dependencies
sudo yum -y install boost-program-options
sudo yum -y install boost libaio gperftools-devel
sudo yum -y install boost libaio
#CMake 3.18 or higher is required
wget -c https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.tar.gz && \
tar -zxvf cmake-3.22.2-linux-x86_64.tar.gz && \
Expand Down

0 comments on commit 88c183e

Please sign in to comment.