提交 29fa7700 编写于 作者: Z Zhiru Zhu

add avx flags when building faiss

上级 c2a5d3e8
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册