mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
enhance: [skip e2e] use disk ann when os is ubuntu (#34236)
issue: https://github.com/milvus-io/milvus/issues/34222 Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
This commit is contained in:
parent
dda70aa81b
commit
b14482baa6
@ -222,8 +222,12 @@ source ${ROOT_DIR}/scripts/setenv.sh
|
|||||||
|
|
||||||
CMAKE_GENERATOR="Unix Makefiles"
|
CMAKE_GENERATOR="Unix Makefiles"
|
||||||
|
|
||||||
# UBUNTU system build diskann index
|
# build with diskann index if OS is ubuntu or rocky or amzn
|
||||||
if [ "$OS_NAME" == "ubuntu20.04" ] ; then
|
if [ -f /etc/os-release ]; then
|
||||||
|
. /etc/os-release
|
||||||
|
OS=$ID
|
||||||
|
fi
|
||||||
|
if [ "$OS" = "ubuntu" ] || [ "$OS" = "rocky" ] || [ "$OS" = "amzn" ]; then
|
||||||
BUILD_DISK_ANN=ON
|
BUILD_DISK_ANN=ON
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user