#631 - FAISS isn't compiled with O3 option

This commit is contained in:
bugfixer 2019-12-01 01:40:11 +00:00
parent e705fa3007
commit c1bd16a55e
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)