@@ -141,6 +141,9 @@ jobs:
141
141
cmake .. ${{ env.COMMON_DEFINE }} -DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"
142
142
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
143
143
copy $env:RUNNER_TEMP/clblast/lib/clblast.dll .\bin\Release\clblast.dll
144
+ echo "78a8c98bcb2efe1a63318d901ab204d9ba96c3b29707b4ce0c4240bdcdc698d6 ./bin/Release/clblast.dll" >> tmp
145
+ sha256sum -c tmp || exit 255
146
+ rm tmp
144
147
ls -R
145
148
- name : Build
146
149
if : ${{ matrix.os == 'ubuntu-22.04' }}
@@ -149,7 +152,8 @@ jobs:
149
152
cd build
150
153
cmake .. ${{ env.COMMON_DEFINE }} -DLLAMA_CLBLAST=ON
151
154
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
152
- cp $(ldconfig -p | grep libclblast.so | tail -n 1 | cut -d ' ' -f 4) ./
155
+ # if we ever want to pull libclblast.so back into the packages, just uncomment this line, and the one below for the upload
156
+ # cp $(ldconfig -p | grep libclblast.so | tail -n 1 | cut -d ' ' -f 4) ./
153
157
ls -R
154
158
- name : Upload artifacts (Windows)
155
159
if : ${{ matrix.os == 'windows-latest' }}
@@ -165,7 +169,7 @@ jobs:
165
169
with :
166
170
path : |
167
171
./build/libllama.so
168
- ./build/libclblast.so
172
+ # ./build/libclblast.so
169
173
name : llama-bin-linux-clblast-x64.so
170
174
171
175
compile-cublas :
@@ -305,7 +309,7 @@ jobs:
305
309
cp artifacts/llama-bin-linux-cublas-cu12.1.0-x64.so/libllama.so deps/cu12.1.0/libllama.so
306
310
307
311
cp artifacts/llama-bin-win-clblast-x64.dll/{llama,clblast}.dll deps/clblast/
308
- cp artifacts/llama-bin-linux-clblast-x64.so/lib{llama,clblast} .so deps/clblast/
312
+ cp artifacts/llama-bin-linux-clblast-x64.so/libllama .so deps/clblast/
309
313
310
314
- name : Upload artifacts
311
315
uses : actions/upload-artifact@v4
0 commit comments