mirror of https://github.com/milvus-io/milvus.git
add avx flags when building faiss
parent
c2a5d3e83e
commit
29fa7700db
|
@ -708,7 +708,7 @@ macro(build_faiss)
|
|||
set(FAISS_CONFIGURE_ARGS
|
||||
"--prefix=${FAISS_PREFIX}"
|
||||
"CFLAGS=${EP_C_FLAGS}"
|
||||
"CXXFLAGS=${EP_CXX_FLAGS}"
|
||||
"CXXFLAGS=${EP_CXX_FLAGS} -mavx2 -mf16c"
|
||||
--without-python)
|
||||
|
||||
if (FAISS_WITH_MKL)
|
||||
|
|
Loading…
Reference in New Issue