mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
add avx flags when building faiss
This commit is contained in:
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…
x
Reference in New Issue
Block a user