File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
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_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include"'
168
+ defines : ' -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include" -DBLAS_LIBRARIES="$env:RUNNER_TEMP/openblas/lib/openblas.lib" '
169
169
170
170
steps :
171
171
- name : Clone
@@ -213,7 +213,6 @@ jobs:
213
213
cd build
214
214
cmake .. ${{ matrix.defines }}
215
215
cmake --build . --config Release
216
- cp ../LICENSE ./bin/Release/llama.cpp.txt
217
216
218
217
- name : Add clblast.dll
219
218
id : add_clblast_dll
@@ -258,6 +257,7 @@ jobs:
258
257
id : pack_artifacts
259
258
if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
260
259
run : |
260
+ Copy-Item LICENSE .\build\bin\Release\llama.cpp.txt
261
261
7z a llama-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip .\build\bin\Release\*
262
262
263
263
- name : Upload artifacts
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ endif()
66
66
# 3rd party libs
67
67
option (LLAMA_ACCELERATE "llama: enable Accelerate framework" ON )
68
68
option (LLAMA_BLAS "llama: use BLAS" OFF )
69
- option (LLAMA_BLAS_VENDOR "llama: BLA_VENDOR from https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors" Generic )
69
+ set (LLAMA_BLAS_VENDOR "Generic" CACHE STRING "llama: BLAS library vendor" )
70
70
option (LLAMA_CUBLAS "llama: use cuBLAS" OFF )
71
71
set (LLAMA_CUDA_DMMV_X "32" CACHE STRING "llama: x stride for dmmv CUDA kernels" )
72
72
set (LLAMA_CUDA_DMMV_Y "1" CACHE STRING "llama: y block size for dmmv CUDA kernels" )
You can’t perform that action at this time.
0 commit comments