@@ -58,6 +58,11 @@ ifdef USE_OPENDAL
5858 use_opendal = ${USE_OPENDAL}
5959endif
6060
61+ use_svs = OFF
62+ ifdef USE_SVS
63+ use_svs = ${USE_SVS}
64+ endif
65+
6166# FIPS: default OFF. Set MILVUS_FIPS_ENABLED=ON to enable BoringCrypto.
6267GOEXPERIMENT_FLAG :=
6368ifeq ($(MILVUS_FIPS_ENABLED ) ,ON)
@@ -293,19 +298,19 @@ generated-proto: download-milvus-proto build-3rdparty get-proto-deps
293298
294299build-cpp : generated-proto plan-parser-lib
295300 @echo " Building Milvus cpp library ..."
296- @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -a ${use_asan} -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) )
301+ @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -a ${use_asan} -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) -S ${use_svs} )
297302
298303build-cpp-gpu : generated-proto plan-parser-lib
299304 @echo " Building Milvus cpp gpu library ... "
300- @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -g -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) )
305+ @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -g -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) -S ${use_svs} )
301306
302307build-cpp-with-unittest : generated-proto plan-parser-lib
303308 @echo " Building Milvus cpp library with unittest ... "
304- @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -a ${use_asan} -u -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) )
309+ @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -a ${use_asan} -u -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) -S ${use_svs} )
305310
306311build-cpp-with-coverage : generated-proto plan-parser-lib
307312 @echo " Building Milvus cpp library with coverage and unittest ..."
308- @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -a ${use_asan} -u -c -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) )
313+ @ (env bash $( PWD) /scripts/core_build.sh -t ${mode} -a ${use_asan} -u -c -n ${use_disk_index} -y ${use_dynamic_simd} ${AZURE_OPTION} -x ${index_engine} -o ${use_opendal} -f $( tantivy_features) -S ${use_svs} )
309314
310315check-proto-product : generated-proto
311316 @ (env bash $( PWD) /scripts/check_proto_product.sh)
0 commit comments