[llvm] [SPIR-V] Add pre-commit CI workflow (PR #74092)
Michal Paszkowski via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 09:13:39 PST 2025
michalpaszkowski wrote:
I noticed that some recent runs are failing (e.g. [this one](https://github.com/llvm/llvm-project/actions/runs/12620519287/job/35166312082)) on the _Setup ccache_ step:
```
/usr/bin/docker exec 9478d844c1eb517a405cdbc48edf97b2a87b3e96623dd6b74fc397265a41e6cc sh -c "cat /etc/*release | grep ^ID"
Install sccache
/usr/bin/sh -xc curl -L 'https://github.com/mozilla/sccache/releases/download/v0.7.6/sccache-v0.7.6-x86_64-unknown-linux-musl.tar.gz' | tar xzf - -O --wildcards '*/sccache' > '/usr/local/bin/sccache'
+ curl -L https://github.com/mozilla/sccache/releases/download/v0.7.6/sccache-v0.7.6-x86_64-unknown-linux-musl.tar.gz
/usr/bin/sh: 1: cannot create /usr/local/bin/sccache: Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 9007k 0 4937 0 0 14185 0 0:10:50 --:--:-- 0:10:50 14185
curl: ([23](https://github.com/llvm/llvm-project/actions/runs/12620519287/job/35166312082#step:7:24)) Failure writing output to destination
Error: Restoring cache failed: Error: The process '/usr/bin/sh' failed with exit code 2
```
@tstellar Do you have any suggestions what might be causing this issue?
https://github.com/llvm/llvm-project/pull/74092
More information about the llvm-commits
mailing list