Skip to content

Commit

Permalink
Fix build with diskann failed (#27672)
Browse files Browse the repository at this point in the history
Signed-off-by: xige-16 <[email protected]>
  • Loading branch information
xige-16 authored Oct 12, 2023
1 parent 6a2b16f commit bf46ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ OS := $(shell uname -s)
mode = Release

use_disk_index = OFF
ifdef USE_DISK_INDEX
use_disk_index = ${USE_DISK_INDEX}
ifdef disk_index
use_disk_index = ${disk_index}
endif

use_asan = OFF
Expand Down
4 changes: 2 additions & 2 deletions scripts/core_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ source ${ROOT_DIR}/scripts/setenv.sh

CMAKE_GENERATOR="Unix Makefiles"

# open build diskann index for Linux
if [ "$OS" == "Linux" ] ; then
# UBUNTU system build diskann index
if [ "$OS_NAME" == "ubuntu20.04" ] ; then
BUILD_DISK_ANN=ON
fi

Expand Down

0 comments on commit bf46ffd

Please sign in to comment.