]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
[CI] CLBlast: Fix directory name (#1606)
authorHenri Vasserman <redacted>
Sat, 27 May 2023 12:18:25 +0000 (15:18 +0300)
committerGitHub <redacted>
Sat, 27 May 2023 12:18:25 +0000 (14:18 +0200)
.github/workflows/build.yml

index d5c2cdea544fb1b89aceb5482dbd6e9c9d3c9c42..245b454dda1e800ffd5f1c77051866b110108067 100644 (file)
@@ -187,7 +187,7 @@ jobs:
           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"
           7z x "-o${env:RUNNER_TEMP}" $env:RUNNER_TEMP/clblast.7z
-          rename-item $env:RUNNER_TEMP/clblast_release_dir clblast
+          rename-item $env:RUNNER_TEMP/CLBlast-${env:CLBLAST_VERSION}-windows-x64 clblast
           foreach ($f in (gci -Recurse -Path "$env:RUNNER_TEMP/clblast" -Filter '*.cmake')) {
             $txt = Get-Content -Path $f -Raw
             $txt.Replace('C:/vcpkg/packages/opencl_x64-windows/', "$($env:RUNNER_TEMP.Replace('\','/'))/opencl/") | Set-Content -Path $f -Encoding UTF8