File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ jobs:
165
165
- build : ' clblast'
166
166
defines : ' -DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"'
167
167
- build : ' openblas'
168
- defines : ' -DLLAMA_OPENBLAS =ON -DBLAS_LIBRARIES="/LIBPATH:$env:RUNNER_TEMP/openblas/lib" -DOPENBLAS_INC ="$env:RUNNER_TEMP/openblas/include"'
168
+ defines : ' -DLLAMA_BLAS =ON -DLLAMA_BLAS_VENDOR=OpenBLAS - DBLAS_LIBRARIES="/LIBPATH:$env:RUNNER_TEMP/openblas/lib" -DBLAS_INCUDE_DIRS ="$env:RUNNER_TEMP/openblas/include"'
169
169
170
170
steps :
171
171
- name : Clone
Original file line number Diff line number Diff line change @@ -158,16 +158,16 @@ if (LLAMA_BLAS)
158
158
if (BLAS_FOUND )
159
159
message (STATUS "BLAS found, Libraries: ${BLAS_LIBRARIES} " )
160
160
161
- add_compile_options (${BLAS_LINKER_FLAGS} )
161
+ add_compile_options (${BLAS_LINKER_FLAGS} )
162
162
add_compile_definitions (GGML_USE_OPENBLAS )
163
163
set (LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} ${BLAS_LIBRARIES} )
164
164
165
165
message ("${BLAS_LIBRARIES} " )
166
166
include_directories (${BLAS_INCLUDE_DIRS} )
167
167
else ()
168
168
message (WARNING "BLAS not found, please refer to "
169
- "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
170
- " to set correct LLAMA_BLAS_VENDOR" )
169
+ "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
170
+ " to set correct LLAMA_BLAS_VENDOR" )
171
171
endif ()
172
172
endif ()
173
173
You can’t perform that action at this time.
0 commit comments