Commit 1f2193e3 authored by Avijit's avatar Avijit Committed by GitHub

Excluded MKL_DNN from the Mac builds. (#138)

parent 9e45a7af
...@@ -16,7 +16,6 @@ cmake_minimum_required (VERSION 2.8) ...@@ -16,7 +16,6 @@ cmake_minimum_required (VERSION 2.8)
set(NGRAPH_INCLUDE_PATH set(NGRAPH_INCLUDE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/src
) )
# Suppress an OS X-specific warning. # Suppress an OS X-specific warning.
if (POLICY CMP0042) if (POLICY CMP0042)
cmake_policy(SET CMP0042 OLD) cmake_policy(SET CMP0042 OLD)
......
...@@ -69,7 +69,6 @@ include_directories( ...@@ -69,7 +69,6 @@ include_directories(
include_directories( include_directories(
SYSTEM SYSTEM
"${EIGEN_INCLUDE_DIR}" "${EIGEN_INCLUDE_DIR}"
"${MKLDNN_INCLUDE_DIR}"
) )
add_library(ngraph SHARED ${SRC}) add_library(ngraph SHARED ${SRC})
...@@ -79,6 +78,8 @@ if (APPLE) ...@@ -79,6 +78,8 @@ if (APPLE)
set_property(TARGET ngraph PROPERTY PREFIX "lib") set_property(TARGET ngraph PROPERTY PREFIX "lib")
set_property(TARGET ngraph PROPERTY OUTPUT_NAME "ngraph.so") set_property(TARGET ngraph PROPERTY OUTPUT_NAME "ngraph.so")
set_property(TARGET ngraph PROPERTY SUFFIX "") set_property(TARGET ngraph PROPERTY SUFFIX "")
else()
include_directories("${MKLDNN_INCLUDE_DIR}")
endif() endif()
#----------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------
......
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