aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHenri Vasserman <henv@hot.ee>2023-05-24 10:30:09 +0300
committerGitHub <noreply@github.com>2023-05-24 10:30:09 +0300
commitac7876ac20124a15a44fd6317721ff1aa2538806 (patch)
treefd39bcda4716a3726feb9af43945cf83fcd735aa /.github/workflows
parentc31bbe934b9666af42f32ce12d32cae9160e5dc4 (diff)
Update CLBlast to 1.6.0 (#1580)
* Update CLBlast to 1.6.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 49b478d..d5c2cde 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -151,7 +151,7 @@ jobs:
env:
OPENBLAS_VERSION: 0.3.23
OPENCL_VERSION: 2023.04.17
- CLBLAST_VERSION: 1.5.3
+ CLBLAST_VERSION: 1.6.0
strategy:
matrix:
@@ -184,13 +184,13 @@ jobs:
id: get_clblast
if: ${{ matrix.build == 'clblast' }}
run: |
- 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"
+ 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"
curl.exe -o $env:RUNNER_TEMP/CLBlast.LICENSE.txt -L "https://github.com/CNugteren/CLBlast/raw/${env:CLBLAST_VERSION}/LICENSE"
- mkdir $env:RUNNER_TEMP/clblast
- tar.exe -xvf $env:RUNNER_TEMP/clblast.zip -C $env:RUNNER_TEMP/clblast
+ 7z x "-o${env:RUNNER_TEMP}" $env:RUNNER_TEMP/clblast.7z
+ rename-item $env:RUNNER_TEMP/clblast_release_dir clblast
foreach ($f in (gci -Recurse -Path "$env:RUNNER_TEMP/clblast" -Filter '*.cmake')) {
$txt = Get-Content -Path $f -Raw
- $txt.Replace('C:/dependencies/opencl/', "$($env:RUNNER_TEMP.Replace('\','/'))/opencl/") | Set-Content -Path $f -Encoding UTF8
+ $txt.Replace('C:/vcpkg/packages/opencl_x64-windows/', "$($env:RUNNER_TEMP.Replace('\','/'))/opencl/") | Set-Content -Path $f -Encoding UTF8
}
- name: Download OpenBLAS