Skip to content

Commit 4ff7009

Browse files
committed
blas build with openblas/blis/etc: use libraries and linker flags from from pkg-config
1 parent d2fe216 commit 4ff7009

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml/src/ggml-blas/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ if (BLAS_FOUND)
5454
endif()
5555
if (DepBLAS_FOUND)
5656
set(BLAS_INCLUDE_DIRS ${DepBLAS_INCLUDE_DIRS})
57+
set(BLAS_LIBRARIES ${DepBLAS_LIBRARIES})
58+
set(BLAS_LINKER_FLAGS ${DepBLAS_LINKER_FLAGS})
5759
else()
5860
message(WARNING "BLAS_INCLUDE_DIRS neither been provided nor been automatically"
5961
" detected by pkgconfig, trying to find cblas.h from possible paths...")

0 commit comments

Comments
 (0)