提交 c1bd16a5 编写于 作者: B bugfixer

#631 - FAISS isn't compiled with O3 option

上级 e705fa30
......@@ -42,6 +42,7 @@ Please mark all change in change log and use the ticket from JIRA.
- \#599 - Build index log is incorrect
- \#602 - Optimizer specify wrong gpu_id
- \#606 - No log generated during building index with CPU
- \#631 - FAISS isn't compiled with O3 option
## Feature
- \#12 - Pure CPU version for Milvus
......
......@@ -708,7 +708,7 @@ macro(build_faiss)
set(FAISS_CONFIGURE_ARGS
"--prefix=${FAISS_PREFIX}"
"CFLAGS=${EP_C_FLAGS}"
"CXXFLAGS=${EP_CXX_FLAGS} -mavx2 -mf16c"
"CXXFLAGS=${EP_CXX_FLAGS} -mavx2 -mf16c -O3"
--without-python)
if (FAISS_WITH_MKL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册