Commit f3316f30 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Merge pull request #118 from NervanaSystems/jmenon/use_patch

CMake: Use 'patch' instead of 'git am'
parents df6a0cc2 9a1c282f
...@@ -29,7 +29,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ...@@ -29,7 +29,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
ext_mkldnn ext_mkldnn
GIT_REPOSITORY ${MKLDNN_GIT_REPO_URL} GIT_REPOSITORY ${MKLDNN_GIT_REPO_URL}
UPDATE_COMMAND "" UPDATE_COMMAND ""
PATCH_COMMAND git am ${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=${EXTERNAL_INSTALL_LOCATION} CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
) )
else() else()
......
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