Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Added workaround for mshadow.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
lebeg committed Aug 10, 2018
1 parent fe706b9 commit 55ec400
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Expand Up @@ -355,7 +355,13 @@ if(USE_CUDA AND FIRST_CUDA)
include_directories(${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
else()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/mshadow/cmake)
# workaroud to refrain mshadow from processing BLAS libraries
# BLAS libraries for MXNet are setup in cmake/ChooseBLAS.cmake
set(__BLAS ${BLAS})
set(BLAS "Override")
include(3rdparty/mshadow/cmake/mshadow.cmake)
set(BLAS ${__BLAS})

include(3rdparty/mshadow/cmake/Utils.cmake)
include(3rdparty/mshadow/cmake/Cuda.cmake)
else()
Expand Down

0 comments on commit 55ec400

Please sign in to comment.