We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f08a21 + c53a9c8 commit b0f83edCopy full SHA for b0f83ed
cmake/external/openblas.cmake
@@ -114,11 +114,7 @@ INCLUDE_DIRECTORIES(${CBLAS_INC_DIR})
114
# linear algebra libraries for cc_library(xxx SRCS xxx.c DEPS cblas)
115
SET(dummyfile ${CMAKE_CURRENT_BINARY_DIR}/cblas_dummy.c)
116
FILE(WRITE ${dummyfile} "const char * dummy = \"${dummyfile}\";")
117
-IF("${CBLAS_PROVIDER}" STREQUAL "MKLML")
118
- ADD_LIBRARY(cblas SHARED ${dummyfile})
119
-ELSE()
120
- ADD_LIBRARY(cblas STATIC ${dummyfile})
121
-ENDIF()
+ADD_LIBRARY(cblas STATIC ${dummyfile})
122
TARGET_LINK_LIBRARIES(cblas ${CBLAS_LIBRARIES})
123
124
IF(NOT ${CBLAS_FOUND})
0 commit comments