We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7d2e2 commit b3e5a88Copy full SHA for b3e5a88
cmake/external/mkldnn.cmake
@@ -56,6 +56,8 @@ ExternalProject_Add(
56
GIT_TAG "v0.14"
57
PREFIX ${MKLDNN_SOURCES_DIR}
58
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
61
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR}
62
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
63
CMAKE_ARGS -DMKLROOT=${MKLML_ROOT}
0 commit comments