Skip to content

Commit 651c934

Browse files
authored
Merge pull request #10736 from luotao1/mkldnn_cmake
refine mkldnn cmake with official commit id
2 parents 062c811 + 8fd5001 commit 651c934

File tree

2 files changed

+1
-4255
lines changed

2 files changed

+1
-4255
lines changed

cmake/external/mkldnn.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ ExternalProject_Add(
5353
${EXTERNAL_PROJECT_LOG_ARGS}
5454
DEPENDS ${MKLDNN_DEPENDS}
5555
GIT_REPOSITORY "https://github.com/01org/mkl-dnn.git"
56-
GIT_TAG "v0.14"
56+
GIT_TAG "db3424ad44901513c03a1ea31ccaacdf633fbe9f"
5757
PREFIX ${MKLDNN_SOURCES_DIR}
5858
UPDATE_COMMAND ""
59-
# Patch MKLDNN to compile with gcc 4.8, the related issue is in intel/mkl-dnn#237.
60-
PATCH_COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/patches/mkldnn.hpp ${MKLDNN_SOURCES_DIR}/src/extern_mkldnn/include/mkldnn.hpp
6159
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR}
6260
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
6361
CMAKE_ARGS -DMKLROOT=${MKLML_ROOT}

0 commit comments

Comments
 (0)