File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 ~/.triton/json
6565 key : ${{ runner.os }}-${{ runner.arch }}-llvm-${{ steps.cache-key.outputs.llvm }}-nvidia-${{ steps.cache-key.outputs.nvidia }}-json-${{ steps.cache-key.outputs.json }}
6666 - name : Install dependencies
67- run : apt-get update && apt-get install -y clang lld ccache
67+ run : |
68+ # `apt-get update` can transiently fail on Ubuntu security mirrors
69+ # (e.g. dep11 components mid-sync). Those files are cosmetic
70+ # AppStream metadata and unrelated to the packages we need, so retry
71+ # a few times and then continue even if update still reports errors;
72+ # `apt-get install` will use whatever indexes are cached.
73+ for i in 1 2 3; do
74+ apt-get -o Acquire::Retries=5 update && break
75+ echo "apt-get update attempt $i failed, retrying in 10s..."
76+ sleep 10
77+ done
78+ apt-get install -y clang lld ccache
79+ # Fail loudly if any required tool is still missing.
80+ command -v clang && command -v lld && command -v ccache
6881 - name : Inspect cache directories
6982 run : |
7083 mkdir -p ~/.triton
You can’t perform that action at this time.
0 commit comments