Commit 866b7556 authored by Yixing Lao's avatar Yixing Lao

fixed to v0.10 mkldnn git tag

parent 57013cc2
...@@ -27,6 +27,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ...@@ -27,6 +27,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
ExternalProject_Add( ExternalProject_Add(
ext_mkldnn ext_mkldnn
GIT_REPOSITORY ${MKLDNN_GIT_REPO_URL} GIT_REPOSITORY ${MKLDNN_GIT_REPO_URL}
GIT_TAG "v0.10"
UPDATE_COMMAND "" UPDATE_COMMAND ""
PATCH_COMMAND patch -p1 < ${CMAKE_SOURCE_DIR}/third-party/patches/mkldnn-cmake-openmp.patch PATCH_COMMAND patch -p1 < ${CMAKE_SOURCE_DIR}/third-party/patches/mkldnn-cmake-openmp.patch
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR} CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR}
...@@ -35,6 +36,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ...@@ -35,6 +36,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
ExternalProject_Add( ExternalProject_Add(
ext_mkldnn ext_mkldnn
GIT_REPOSITORY ${MKLDNN_GIT_REPO_URL} GIT_REPOSITORY ${MKLDNN_GIT_REPO_URL}
GIT_TAG "v0.10"
UPDATE_COMMAND "" UPDATE_COMMAND ""
PATCH_COMMAND patch -p1 < ${CMAKE_SOURCE_DIR}/third-party/patches/mkldnn-cmake-openmp.patch PATCH_COMMAND patch -p1 < ${CMAKE_SOURCE_DIR}/third-party/patches/mkldnn-cmake-openmp.patch
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR} CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR}
......
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