提交 269a62a2 编写于 作者: Q qiaolongfei

add mkldnn to paddle lib

上级 9707aa6b
...@@ -98,6 +98,14 @@ elseif (WITH_MKLML) ...@@ -98,6 +98,14 @@ elseif (WITH_MKLML)
) )
endif() endif()
if(WITH_MKLDNN)
set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/")
copy(mkldnn_lib
SRCS ${MKLDNN_INSTALL_DIR}
DSTS ${dst_dir}
)
endif()
if(NOT MOBILE_INFERENCE AND NOT RPI) if(NOT MOBILE_INFERENCE AND NOT RPI)
set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/snappy") set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/snappy")
copy(snappy_lib copy(snappy_lib
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册