Commit c1bd16a5 authored by bugfixer's avatar bugfixer
Browse files

#631 - FAISS isn't compiled with O3 option

parent e705fa30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)