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)
set(NGRAPH_INCLUDE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/src
)
# Suppress an OS X-specific warning.
if (POLICY CMP0042)
cmake_policy(SET CMP0042 OLD)
......
......@@ -69,18 +69,19 @@ include_directories(
include_directories(
SYSTEM
"${EIGEN_INCLUDE_DIR}"
"${MKLDNN_INCLUDE_DIR}"
)
add_library(ngraph SHARED ${SRC})
target_include_directories(ngraph PUBLIC "${NGRAPH_INCLUDE_PATH}")
if (APPLE)
set_property(TARGET ngraph PROPERTY PREFIX "lib")
set_property(TARGET ngraph PROPERTY OUTPUT_NAME "ngraph.so")
set_property(TARGET ngraph PROPERTY SUFFIX "")
else()
include_directories("${MKLDNN_INCLUDE_DIR}")
endif()
#-----------------------------------------------------------------------------------------------
# Installation logic...
#-----------------------------------------------------------------------------------------------
......
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