SHARE
TWEET

MKLDNN -Werror patch

a guest Dec 25th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/3rdparty/mkldnn/cmake/platform.cmake b/3rdparty/mkldnn/cmake/platform.cmake
  2. --- a/3rdparty/mkldnn/cmake/platform.cmake  2019-09-06 15:36:04.000000000 +0200
  3. +++ b/3rdparty/mkldnn/cmake/platform.cmake  2019-12-25 09:13:46.934798193 +0100
  4. @@ -63,7 +63,6 @@ if(MSVC)
  5.      endif()
  6.  elseif(UNIX OR MINGW)
  7.      append(CMAKE_CCXX_FLAGS "-Wall -Wno-unknown-pragmas")
  8. -    append_if_product(CMAKE_CCXX_FLAGS "-Werror")
  9.      append(CMAKE_CCXX_FLAGS "-fvisibility=internal")
  10.      append(CMAKE_C_FLAGS "-std=c99")
  11.      append(CMAKE_CXX_FLAGS "-std=c++11 -fvisibility-inlines-hidden")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top