Skip to content

Commit

Permalink
build oneDNN with c++11
Browse files Browse the repository at this point in the history
  • Loading branch information
TaoLv committed Sep 15, 2020
1 parent df7a9e4 commit 5365d83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ if(USE_MKLDNN)
include_directories(${PROJECT_BINARY_DIR}/3rdparty/mkldnn/include)
add_definitions(-DMXNET_USE_MKLDNN=1)
list(APPEND mxnet_LINKER_LIBS dnnl)
target_compile_features(dnnl PUBLIC cxx_std_11) # build oneDNN with c++11
set_target_properties(dnnl PROPERTIES CXX_CLANG_TIDY "") # don't lint 3rdparty dependency
endif()

Expand Down

0 comments on commit 5365d83

Please sign in to comment.