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 2021/02/03 23:33:12 UTC

[GitHub] [incubator-mxnet] leezu commented on a change in pull request #19832: [WIP] Fix building when USE_BLAS option is not provided

leezu commented on a change in pull request #19832:
URL: https://github.com/apache/incubator-mxnet/pull/19832#discussion_r569826183



##########
File path: cmake/ChooseBlas.cmake
##########
@@ -22,12 +22,7 @@ if(DEFINED USE_BLAS)
   set(BLAS "${USE_BLAS}")
 else()
   if(USE_MKL_IF_AVAILABLE)
-    if(NOT MKL_FOUND)
-      find_package(MKL)
-    endif()
-    if(MKL_FOUND)
-      set(BLAS "MKL")
-    endif()
+    set(BLAS "MKL")

Review comment:
       Wouldn't this fail if MKL is not available?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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