File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ if (WHISPER_BLAS)
156
156
if (BLAS_FOUND )
157
157
message (STATUS "BLAS compatible library found" )
158
158
message (STATUS "Libraries ${BLAS_LIBRARIES} " )
159
+ find_path (BLAS_INCLUDE_DIRS cblas.h /usr/include/openblas /usr/local/include/openblas $ENV{BLAS_HOME} /include )
159
160
set (WHISPER_EXTRA_FLAGS ${WHISPER_EXTRA_FLAGS} -DGGML_USE_OPENBLAS )
160
161
include_directories (${BLAS_INCLUDE_DIRS} )
161
162
set (WHISPER_EXTRA_LIBS ${WHISPER_EXTRA_LIBS} ${BLAS_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ endif
139
139
endif
140
140
141
141
ifdef WHISPER_OPENBLAS
142
- CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
142
+ CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -I/usr/include/openblas
143
143
LDFLAGS += -lopenblas
144
144
endif
145
145
You can’t perform that action at this time.
0 commit comments