Commit ed009a9c authored by Sang Ik Lee's avatar Sang Ik Lee Committed by Scott Cyphers

mkl-dnn use CMAKE_INSTALL_LIBDIR to handle lib vs lib64 directory name difference. (#2511)

parent eda11da7
......@@ -231,7 +231,7 @@ endif()
ExternalProject_Add_Step(
ext_mkldnn
CopyMKLDNN
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${EXTERNAL_PROJECTS_ROOT}/mkldnn/lib/${MKLDNN_LIB} ${NGRAPH_LIBRARY_OUTPUT_DIRECTORY}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${EXTERNAL_PROJECTS_ROOT}/mkldnn/${CMAKE_INSTALL_LIBDIR}/${MKLDNN_LIB} ${NGRAPH_LIBRARY_OUTPUT_DIRECTORY}
COMMENT "Copy mkldnn runtime libraries to ngraph build directory."
DEPENDEES install
)
......@@ -240,7 +240,7 @@ if(WIN32)
ExternalProject_Add_Step(
ext_mkldnn
CopyMKLDNNIMP
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${EXTERNAL_PROJECTS_ROOT}/mkldnn/lib/${MKLDNN_IMPLIB} ${NGRAPH_ARCHIVE_OUTPUT_DIRECTORY}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${EXTERNAL_PROJECTS_ROOT}/mkldnn/${CMAKE_INSTALL_LIBDIR}/${MKLDNN_IMPLIB} ${NGRAPH_ARCHIVE_OUTPUT_DIRECTORY}
COMMENT "Copy mkldnn runtime libraries to ngraph build directory."
DEPENDEES install
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment