提交 75988275 编写于 作者: T typhoonzero

fix MKL flag auto detect

上级 55e6e2c4
......@@ -28,6 +28,7 @@ IF(WIN32 OR APPLE)
"Windows or Mac is not supported with MKLDNN in Paddle yet."
"Force WITH_MKLDNN=OFF")
SET(WITH_MKLDNN OFF CACHE STRING "Disable MKLDNN in Windows and MacOS" FORCE)
SET(WITH_MKL OFF CACHE STRING "Disable MKL for later scripts" FORCE)
return()
ENDIF()
......
......@@ -21,6 +21,7 @@ IF(WIN32 OR APPLE)
"Windows or Mac is not supported with MKLML in Paddle yet."
"Force WITH_MKLML=OFF")
SET(WITH_MKLML OFF CACHE STRING "Disable MKLML package in Windows and MacOS" FORCE)
SET(WITH_MKL OFF CACHE STRING "Disable MKL for later scripts" FORCE)
return()
ENDIF()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册