mirror of https://github.com/milvus-io/milvus.git
parent
6a2b16fd6c
commit
bf46ffd6c4
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue