Merge pull request #632 from JinHai-CN/0.6.0

#631 - FAISS isn't compiled with O3 option
pull/629/head^2
Jin Hai 2019-12-01 13:12:55 +08:00 committed by GitHub
commit 183e09756a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 - \#599 - Build index log is incorrect
- \#602 - Optimizer specify wrong gpu_id - \#602 - Optimizer specify wrong gpu_id
- \#606 - No log generated during building index with CPU - \#606 - No log generated during building index with CPU
- \#631 - FAISS isn't compiled with O3 option
## Feature ## Feature
- \#12 - Pure CPU version for Milvus - \#12 - Pure CPU version for Milvus

View File

@ -708,7 +708,7 @@ macro(build_faiss)
set(FAISS_CONFIGURE_ARGS set(FAISS_CONFIGURE_ARGS
"--prefix=${FAISS_PREFIX}" "--prefix=${FAISS_PREFIX}"
"CFLAGS=${EP_C_FLAGS}" "CFLAGS=${EP_C_FLAGS}"
"CXXFLAGS=${EP_CXX_FLAGS} -mavx2 -mf16c" "CXXFLAGS=${EP_CXX_FLAGS} -mavx2 -mf16c -O3"
--without-python) --without-python)
if (FAISS_WITH_MKL) if (FAISS_WITH_MKL)