Skip to content

Commit ac7876a

Browse files
authored
Update CLBlast to 1.6.0 (ggml-org#1580)
* Update CLBlast to 1.6.0
1 parent c31bbe9 commit ac7876a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
env:
152152
OPENBLAS_VERSION: 0.3.23
153153
OPENCL_VERSION: 2023.04.17
154-
CLBLAST_VERSION: 1.5.3
154+
CLBLAST_VERSION: 1.6.0
155155

156156
strategy:
157157
matrix:
@@ -184,13 +184,13 @@ jobs:
184184
id: get_clblast
185185
if: ${{ matrix.build == 'clblast' }}
186186
run: |
187-
curl.exe -o $env:RUNNER_TEMP/clblast.zip -L "https://github.com/CNugteren/CLBlast/releases/download/${env:CLBLAST_VERSION}/CLBlast-${env:CLBLAST_VERSION}-Windows-x64.zip"
187+
curl.exe -o $env:RUNNER_TEMP/clblast.7z -L "https://github.com/CNugteren/CLBlast/releases/download/${env:CLBLAST_VERSION}/CLBlast-${env:CLBLAST_VERSION}-windows-x64.7z"
188188
curl.exe -o $env:RUNNER_TEMP/CLBlast.LICENSE.txt -L "https://github.com/CNugteren/CLBlast/raw/${env:CLBLAST_VERSION}/LICENSE"
189-
mkdir $env:RUNNER_TEMP/clblast
190-
tar.exe -xvf $env:RUNNER_TEMP/clblast.zip -C $env:RUNNER_TEMP/clblast
189+
7z x "-o${env:RUNNER_TEMP}" $env:RUNNER_TEMP/clblast.7z
190+
rename-item $env:RUNNER_TEMP/clblast_release_dir clblast
191191
foreach ($f in (gci -Recurse -Path "$env:RUNNER_TEMP/clblast" -Filter '*.cmake')) {
192192
$txt = Get-Content -Path $f -Raw
193-
$txt.Replace('C:/dependencies/opencl/', "$($env:RUNNER_TEMP.Replace('\','/'))/opencl/") | Set-Content -Path $f -Encoding UTF8
193+
$txt.Replace('C:/vcpkg/packages/opencl_x64-windows/', "$($env:RUNNER_TEMP.Replace('\','/'))/opencl/") | Set-Content -Path $f -Encoding UTF8
194194
}
195195
196196
- name: Download OpenBLAS

0 commit comments

Comments
 (0)