You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/20 17:58:23 UTC

[GitHub] szha closed pull request #13268: Fix/link to mkl build

szha closed pull request #13268: Fix/link to mkl build
URL: https://github.com/apache/incubator-mxnet/pull/13268
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/cmake/DownloadMKLML.cmake b/cmake/DownloadMKLML.cmake
index c2c1cd6916f..eabf861a4b2 100644
--- a/cmake/DownloadMKLML.cmake
+++ b/cmake/DownloadMKLML.cmake
@@ -54,6 +54,7 @@ elseif(APPLE)
   set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}")
 
   message(STATUS "Setting MKLROOT path to ${MKLROOT}")
+  include_directories(${MKLROOT}/include)
 
 elseif(UNIX)
   set(MKL_NAME "mklml_lnx_${MKLML_RELEASE_FILE_SUFFIX}")
@@ -65,8 +66,8 @@ elseif(UNIX)
                   "-C" "${CMAKE_CURRENT_BINARY_DIR}/mklml/")
 
   set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}")
-
   message(STATUS "Setting MKLROOT path to ${MKLROOT}")
+  include_directories(${MKLROOT}/include)
 
 else()
   message(FATAL_ERROR "Wrong platform")


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services