Former-commit-id: aba27ece245cadb9aff24943c957de29c6af2a00
This commit is contained in:
zhiru 2019-07-17 13:02:40 +08:00
parent 596684261d
commit ab45ad89a1
2 changed files with 3 additions and 1 deletions

View File

@ -713,7 +713,8 @@ macro(build_faiss)
if(${BUILD_FAISS_WITH_MKL} STREQUAL "true")
message(STATUS "Build Faiss with MKL")
if(NOT DEFINED MKL_LIB_PATH)
set(MKL_LIB_PATH "/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64")
set(MKL_LIB_PATH "/opt/intel/compilers_and_libraries_${MKL_VERSION}/linux/mkl/lib/intel64")
message(STATUS "MKL_LIB_PATH = ${MKL_LIB_PATH}")
endif()
set(FAISS_CONFIGURE_ARGS ${FAISS_CONFIGURE_ARGS}
"CPPFLAGS=-DMKL_ILP64 -m64 -I${MKL_LIB_PATH}/../../include"

View File

@ -3,6 +3,7 @@ BOOST_VERSION=1.70.0
BZIP2_VERSION=1.0.6
EASYLOGGINGPP_VERSION=v9.96.7
FAISS_VERSION=7b07685
MKL_VERSION=2019.4.243
GTEST_VERSION=1.8.1
JSONCONS_VERSION=0.126.0
LAPACK_VERSION=v3.8.0