Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: [skip e2e] use disk ann when os is ubuntu, rocky or amazon #34244

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions scripts/core_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,12 @@ source ${ROOT_DIR}/scripts/setenv.sh

CMAKE_GENERATOR="Unix Makefiles"

# UBUNTU system build diskann index
if [ "$OS_NAME" == "ubuntu20.04" ] ; then
# build with diskann index if OS is ubuntu or rocky or amzn
if [ -f /etc/os-release ]; then
. /etc/os-release
OS=$ID
fi
if [ "$OS" = "ubuntu" ] || [ "$OS" = "rocky" ] || [ "$OS" = "amzn" ]; then
BUILD_DISK_ANN=ON
fi

Expand Down
Loading