You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/03/14 12:44:28 UTC

[incubator-mxnet] branch master updated: [MXNET-83] Fix CMake build issue with MKL. (#10075)

This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new faa4f9f  [MXNET-83] Fix CMake build issue with MKL. (#10075)
faa4f9f is described below

commit faa4f9fee25f5fd7bf7f4e6e9dd77baccf7b1100
Author: Kellen Sunderland <ke...@gmail.com>
AuthorDate: Wed Mar 14 12:44:23 2018 +0000

    [MXNET-83] Fix CMake build issue with MKL. (#10075)
---
 CMakeLists.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d596928..b3a8955 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,10 +160,8 @@ if(USE_MKL_IF_AVAILABLE)
     add_subdirectory(3rdparty/mkldnn)
     include_directories(3rdparty/mkldnn/include)
     list(APPEND mxnet_LINKER_LIBS mkldnn)
-    set(MKL_FOUND TRUE)
-  else()
-    find_package(MKL)
   endif()
+  find_package(MKL)
 
   if(MKL_FOUND)
     include_directories(${MKL_INCLUDE_DIR})

-- 
To stop receiving notification emails like this one, please contact
marcoabreu@apache.org.